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