BlueZBattery constructor
BlueZBattery(
- DBusObjectPath path,
- BlueZDevice device, {
- int percentage = 0,
- String source = '',
Implementation
BlueZBattery(
DBusObjectPath path,
this.device, {
int percentage = 0,
this.source = '',
}) : _percentage = percentage,
super(path) {
assert(percentage >= 0 && percentage <= 100);
}