voidCompleter function

void voidCompleter(
  1. Completer<void> completer
)

Implementation

void voidCompleter(Completer<void> completer) => completer.complete();