getConnectionState method Null safety

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;
  });
}