rejectAllFutures method

void rejectAllFutures(
  1. int code,
  2. String reason
)

Implementation

void rejectAllFutures(int code, String reason) {
  _pendingFutures.forEach((String key, FutureCallback cb) {
    cb.completer?.completeError(reason);
  });
}