Future<bool> waitForConnectionOrTimeout ({Duration? timeout}) { return _waitForConnectionImp(timeout: timeout); }