Dart
dart:html
Navigator
getBattery method
getBattery
Dart
dart:html
Navigator
getBattery method
Navigator class
Properties
appCodeName
appName
appVersion
budget
clipboard
connection
cookieEnabled
credentials
dartEnabled
deviceMemory
doNotTrack
geolocation
language
languages
maxTouchPoints
mediaCapabilities
mediaDevices
mediaSession
mimeTypes
nfc
onLine
permissions
persistentStorage
platform
presentation
product
productSub
serviceWorker
storage
temporaryStorage
userAgent
vendor
vendorSub
vr
webdriver
hardwareConcurrency
hashCode
runtimeType
Methods
cancelKeyboardLock
getBattery
getGamepads
getInstalledRelatedApps
getUserMedia
getVRDisplays
registerProtocolHandler
requestKeyboardLock
requestMediaKeySystemAccess
requestMidiAccess
sendBeacon
share
noSuchMethod
toString
Operators
operator ==
getBattery method
Future
getBattery
(
)
Implementation
Future getBattery() => promiseToFuture(JS("", "#.getBattery()", this));
Cookies management controls