@override Future<int?> getWifiLinkSpeed() async { final speed = await methodChannel.invokeMethod<int?>('getWifiLinkSpeed'); return speed; }