complete method Null safety

  1. @override
void complete(
  1. Completer<T> completer
)
override

Completes a completer with this result.

Implementation

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