battery library Null safety

Classes

Battery
API for accessing information about the battery of the device the Flutter app is currently running on.

Enums

BatteryState
Indicates the current battery state.