addFuture<T> method

FutureWait addFuture<T>(
  1. Future<T>? futureTask
)

添加Future任务

Implementation

FutureWait addFuture<T>(Future<T>? futureTask) {
  if (futureTask == null) {
    return this;
  }
  _task.add(futureTask);
  return this;
}