getBattery method
Implementation
Future<BatteryManager> getBattery() =>
js_util.promiseToFuture(js_util.callMethod(this, 'getBattery', []));
Future<BatteryManager> getBattery() =>
js_util.promiseToFuture(js_util.callMethod(this, 'getBattery', []));