NativePromise class
Constructors
-
NativePromise(RenderContext<
LoadInstanceContext> context, {required String callId})
Properties
Methods
-
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
- kPromiseCodeReject → const int
- kPromiseCodeResolve → const int