isOffline static method Null safety
Returns whether the SDK is currently configured not to make network connections.
Implementation
static Future<bool> isOffline() async {
bool? result = await _channel.invokeMethod('isOffline');
return result ?? true;
}