NativePromise class

Inheritance

Constructors

NativePromise(RenderContext<LoadInstanceContext> context, {required String callId})

Properties

callId String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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