IQuickJsContext class abstract

Implementers

Constructors

IQuickJsContext()

Properties

handleAddress int
no setter
hashCode int
The hash code for this object.
no setterinherited
onCallNative FutureOr Function(String method, dynamic args)?
Callback to handle sync native calls from JS
no getter
onCallNativeAsync FutureOr Function(String method, dynamic args)?
Callback to handle async native calls from JS
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
eval(String code) Future
evalBinary(Uint8List bytecode) Future
evalBinaryFile(String path) Future
evalFile(String path) Future
invoke(String? objectName, String methodName, List args) → dynamic
在全局对象上调用方法 (由具体实现决定如何处理)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runJobs() Future<int>
toString() String
A string representation of this object.
inherited

Operators

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