FutureWait class

同步任务,确保所有任务执行完后回调结果

Constructors

FutureWait()

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

addActionFuture<T>(OnFutureAction? action) FutureWait
添加Future任务
addFuture<T>(Future<T>? futureTask) FutureWait
添加Future任务
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
perform({OnFutureWaitCall? call}) → void
执行任务
toString() String
A string representation of this object.
inherited

Operators

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