BatteryLevel class
BatteryLevel model is used for storing initial battery leve and timestamp battery level at the time of event
Constructors
- BatteryLevel({double? initialSessionBatteryLevel, double? eventBatteryLevel, int? initialSessionBatteryTime})
-
const
Properties
- eventBatteryLevel → double?
-
Battery level at the time of event
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialSessionBatteryLevel → double?
-
Battery level at the time of SDK initialize
final
- initialSessionBatteryTime → int?
-
Timestamp of SDK initialize
final
- 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
-
toMap(
) → Map< String, Object?> -
Converting BatteryLevel object to map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited