ready property
Future<void>
get
ready
Implementation
Future<void> get ready async {
final bool isConnecting = _connectionState.value.isConnecting;
if (isDisconnected && !isConnecting) await _connect();
return _isAuthenticated.future;
}