isConnected method
Checks if the Nimmsta device is currently connected.
Returns true if connected, false otherwise, or null if unsupported.
Implementation
@override
Future<bool?> isConnected() async {
return await _methodChannel.invokeMethod<bool>('isConnected');
}