complete method

void complete (Completer completer)
override

Completes a completer with this result.

Implementation

void complete(Completer completer) {
  completer.completeError(error, stackTrace);
}