NativeBridgeImpl mixin
Name: Native Bridge实现类 Created by Fitem on 2022/10/31
- Mixin applications
Properties
-
callMethodMap
→ Map<
String, Function?> -
call method map
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → dynamic
-
javascript channel name
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMessageReceived(
JavaScriptMessage message) → void - 接收JS消息
-
runJavaScript(
String javaScriptString) → void - 执行JS
-
runJavaScriptReturningResult(
String javaScriptString) → Future< Object> - 执行JS并返回结果
-
sendMessage(
Message message) → Future - 发送JS消息
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited