@override Future<bool> isCharging() async { final isCharging = await methodChannel.invokeMethod<bool>('isCharging'); return isCharging ?? false; }