JavascriptHandler<Extras> class

Constructors

JavascriptHandler({Extras? extras})

Properties

extras → Extras?
final
hashCode int
The hash code for this object.
no setterinherited
jsChannels HashMap<String, JavascriptChannel>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addHandler(String methodName, JavascriptMessageHandler onMessageReceived) → void
添加脚本注册方法
evalJavascript(String methodName, List<String> params) → void
genJoinJsMethod(List<String> bridgeNames, {required String method, dynamic returnValue}) String
生成加入js方法 methodjs方法带参数不带返回类型 returnValuejs方法返回值
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerBridges() → void
setCallHandler(ScriptHandlerCallback callback) → void
toString() String
A string representation of this object.
inherited

Operators

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