DsBridge class abstract
Constructors
- DsBridge()
Properties
- callID ↔ int
-
getter/setter pair
-
callInfoList
↔ List<
CallInfo> ? -
getter/setter pair
-
handlerMap
↔ Map<
int, OnReturnValue> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- javascriptInterface ↔ InnerJavascriptInterface
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addJavascriptObject(
JavaScriptNamespaceInterface interface) → void -
callHandler(
String method, [List args = const [], OnReturnValue? handler]) → FutureOr< String?> -
dispatchJavascriptCall(
CallInfo info) → FutureOr< String?> -
evaluateJavascript(
String javascript) → FutureOr< String?> -
hasJavascriptMethod(
String handlerName, OnReturnValue existCallback) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeJavascriptObject(
String namespace) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- BRIDGE_NAME → const String