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