JmlinkFlutterPlugin class

Constructors

JmlinkFlutterPlugin()
factory

Properties

flutterLog String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDefaultHandlerListener(JMLDefaultHandlerListener callback) → dynamic
添加 默认的mLink handler 的监听 在监听回调里,根据返回的参数做相应的操作,如:跳转页面
addHandlerListener(String jmlinkKey, JMLHandlerListener callback) → dynamic
添加 mLink handler 的监听 @para jmlinkKey 需要监听的短链 在监听回调里,根据返回的参数做相应的操作,如:跳转页面
getJMLinkParam() Future<Map>
获取无码邀请中传回来的相关值 return 无码邀请中传回来的相关值
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerJMLinkDefaultHandler() → void
注册一个默认的 mLink handler,当接收到URL,并且所有的 mLink key 都没有匹配成功,就会调用默认的 mLink handler handler mlink 的回调通过 addDefaultHandlerListener 来监听
registerJMLinkHandler({String? key}) → void
注册一个mLink handler,当接收到URL的时候,会根据mLink key进行匹配,当匹配成功会调用相应的handler @param key 后台注册mlink时生成的mlink key handler mlink 的回调通过 addHandlerListener 来监听
setDebugMode({bool? debug}) → void
过期方法,请在 【setup】方法中设置 设置 SDK 是否 debug 模式
setup({JMLConfig? config}) → void
初始换 SDK
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance JmlinkFlutterPlugin
no setter

Constants