waitForConnection method
Waits for a connection to be established.
Implementation
Future<void> waitForConnection() {
_connectionCompleter = Completer();
return _connectionCompleter!.future;
}
Waits for a connection to be established.
Future<void> waitForConnection() {
_connectionCompleter = Completer();
return _connectionCompleter!.future;
}