JSPromise class abstract
Constructors
- JSPromise(String callId)
- JSPromise.js(EngineContext context, {required String module, required String method, required String callId})
-
factory
Properties
Methods
-
call(
int code, Object? obj) → void -
error(
int code, Object error) → void -
isCallback(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reject(
Object? error) → void -
override
-
resolve(
Object? value) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kPromiseCodeNormanError → const int
- kPromiseCodeOtherError → const int
- kPromiseCodeSuccess → const int