batteryLevel property

  1. @override
int get batteryLevel
override

The runtime battery level of this hardware device. Returns null if unknown.

Implementation

@override
int get batteryLevel => _batteryLevel;