NewBatteryPluginPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • NewBatteryPluginPlatform
Implementers

Constructors

NewBatteryPluginPlatform()
Constructs a NewBatteryPluginPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBatteryLevel() Future<int?>
Method to get the battery level.
getPlatformVersion() Future<String?>
Method to get the platform version.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance NewBatteryPluginPlatform
The default instance of NewBatteryPluginPlatform to use.
getter/setter pair