BatteryInfoPlugin class
Plugin for accessing the battery information of the device
Constructors
Properties
-
androidBatteryInfo
→ Future<
AndroidBatteryInfo?> -
Returns the battery info as a single API call
no setter
-
androidBatteryInfoStream
→ Stream<
AndroidBatteryInfo?> -
Returns a stream of
BatteryInfo
data that is pushed out to the subscribers on updatesno setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
iosBatteryInfo
→ Future<
IosBatteryInfo?> -
Returns the battery info as a single API call
no setter
-
iosBatteryInfoStream
→ Stream<
IosBatteryInfo?> -
Returns a stream of
IsoBatteryInfo
data that is pushed out to the subscribers on updatesno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Constants
- methodChannel → const MethodChannel
- streamChannel → const EventChannel