waitForConnection method

Future<void> waitForConnection()
inherited

Waits for a connection to be established.

Implementation

Future<void> waitForConnection() {
  _connectionCompleter = Completer();
  return _connectionCompleter!.future;
}