isConnected property
true after a successful connection, false after a disconnect or a
failed connection attempt.
Implementation
final bool isConnected;
true after a successful connection, false after a disconnect or a
failed connection attempt.
final bool isConnected;