getState method

Future<String> getState()

Returns current connection state string (e.g., CONNECTED/CONNECTING/DISCONNECTED).

Implementation

Future<String> getState() async {
  throw UnimplementedError('getState() has not been implemented.');
}