getPlatformBatteryLevel method

  1. @override
Future<String?> getPlatformBatteryLevel()
override

Implementation

@override
Future<String?> getPlatformBatteryLevel() async {
  final String? batteryLevel = await methodChannel.invokeMethod<String?>('getPlatformBatteryLevel');
  return batteryLevel;
}