BatteryState class

Constructors

BatteryState({Header? header, double? voltage, double? current, double? charge, double? capacity, double? design_capacity, double? percentage, int? power_supply_status, int? power_supply_health, int? power_supply_technology, bool? present, List<double>? cell_voltage, String? location, String? serial_number})

Properties

capacity double
getter/setter pair
cell_voltage List<double>
getter/setter pair
charge double
getter/setter pair
current double
getter/setter pair
design_capacity double
getter/setter pair
fullType String
no setter
hashCode int
The hash code for this object.
no setterinherited
getter/setter pair
location String
getter/setter pair
md5sum String
no setter
messageDefinition String
no setter
percentage double
getter/setter pair
power_supply_health int
getter/setter pair
power_supply_status int
getter/setter pair
power_supply_technology int
getter/setter pair
present bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serial_number String
getter/setter pair
voltage double
getter/setter pair

Methods

call({Header? header, double? voltage, double? current, double? charge, double? capacity, double? design_capacity, double? percentage, int? power_supply_status, int? power_supply_health, int? power_supply_technology, bool? present, List<double>? cell_voltage, String? location, String? serial_number}) BatteryState
deserialize(ByteDataReader reader) BatteryState
getMessageSize() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(ByteDataWriter writer) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

$prototype BatteryState
getter/setter pair