complete method Null safety

  1. @override
void complete(
  1. Completer completer
)
override

Completes a completer with this result.

Implementation

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