FlutterJsPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterJsPlatform
Implementers

Constructors

FlutterJsPlatform()

Properties

dartContext Map<String, dynamic>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
localContext Map<String, Pointer<NativeType>>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callFunction(Pointer<NativeType> fn, Pointer<NativeType> obj) JsEvalResult
convertValue<T>(JsEvalResult jsValue) → T
dispose() → void
evaluate(String code) JsEvalResult
evaluateAsync(String code) Future<JsEvalResult>
executePendingJob() int
getEngineInstanceId() String
init() FlutterJsPlatform
initChannelFunctions() → void
jsonStringify(JsEvalResult jsValue) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(String channelName, void fn(dynamic args)) → dynamic
sendMessage({required String channelName, required List<String> args, String? uuid}) → dynamic
setupBridge(String channelName, void fn(dynamic args)) bool
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

channelFunctionsRegistered Map<String, Map<String, dynamic Function(dynamic arg)>>
no setter
instance FlutterJsPlatform
Platform-specific plugins should set this with their own platform-specific class that extends UrlLauncherPlatform when they register themselves.
getter/setter pair