BatteryState.fromBatteryState constructor
BatteryState.fromBatteryState(
- int level,
- BatteryState state
Implementation
BatteryState.fromBatteryState(int level, battery.BatteryState state)
: batteryLevel = level,
batteryStatus = _parseBatteryState(state),
super();