QuickJsService class
- Inheritance
-
- Object
- JavascriptRuntime
- QuickJsService
- Available extensions
Constructors
- QuickJsService(FlutterJs _flutterJs)
Properties
-
dartContext
↔ Map<
String, dynamic> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isReady → bool
-
no setter
-
localContext
↔ Map<
String, dynamic> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
callFunction(
dynamic fn, dynamic obj) → JsEvalResult -
override
-
convertValue<
T> (JsEvalResult jsValue) → T? -
override
-
dispose(
) → void -
override
-
evaluate(
String code, {String? sourceUrl}) → JsEvalResult -
override
-
evaluateAsync(
String code, {String? sourceUrl}) → Future< JsEvalResult> -
override
-
executePendingJob(
) → int -
override
-
getEngineInstanceId(
) → String -
override
-
init(
) → JavascriptRuntime -
inherited
-
initChannelFunctions(
) → void -
override
-
jsonStringify(
JsEvalResult jsValue) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMessage(
String channelName, dynamic fn(dynamic args)) → dynamic -
inherited
-
sendMessage(
{required String channelName, required List< String> args, String? uuid}) → dynamic -
inherited
-
setInspectable(
bool inspectable) → void -
override
-
setupBridge(
String channelName, dynamic fn(dynamic args)) → bool -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited