getConnectionState method

  1. @override
Future<ConnectionStateType> getConnectionState()

Gets the connection state of the SDK.

Implementation

@override
Future<ConnectionStateType> getConnectionState() {
  return _invokeMethod('getConnectionState').then((value) {
    return ConnectionStateTypeConverter.fromValue(value).e;
  });
}