@override Future<bool> getIsOnWifi() async { var res = await methodChannel.invokeMethod<bool>('getIsOnWifi'); return res!; }