complete method

void complete (Completer<T> completer)
override

Completes a completer with this result.

Implementation

void complete(Completer<T> completer) {
  completer.complete(value);
}