static Future<bool> isHotspotEnabled() async { try { final bool result = await _channel.invokeMethod('isHotspotEnabled'); return result; } on PlatformException { return false; } }