isCharging property

Future<bool> get isCharging

Uses method channel for getting charging status.

Implementation

Future<bool> get isCharging async {
  // return await _methodChannel.invokeMethod('getChargingStatus');
  throw UnimplementedError('platformVersion() has not been implemented.');
}