diff --git a/lib/mop.dart b/lib/mop.dart index aa0f70f..a5928ad 100644 --- a/lib/mop.dart +++ b/lib/mop.dart @@ -106,6 +106,7 @@ class Mop { final String apiPrefix, final String fingerprint, final String cryptType, + final String scene, }) async { Map params = {'appId': appId}; Map param = {}; @@ -117,6 +118,7 @@ class Mop { if (apiPrefix != null) params["apiPrefix"] = apiPrefix; if (fingerprint != null) params["fingerprint"] = fingerprint; if (cryptType != null) params["cryptType"] = cryptType; + if (scene != null) param["scene"] = scene; final Map ret = await _channel.invokeMethod('openApplet', params); return ret; }