getBatteryLevel method

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

Implementation

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