PromiseJsImpl<T> class

Inheritance
Annotations
  • @JS('Promise')

Constructors

PromiseJsImpl(Function resolver)

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
then([Func1 onResolve, Func1 onReject]) ThenableJsImpl
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

all(List<PromiseJsImpl> values) PromiseJsImpl<List>
reject(dynamic error) PromiseJsImpl
resolve(dynamic value) PromiseJsImpl