EnergyStat class

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

EnergyStat({required int level, required int amount, required int timesType, required List<int> values})
const
EnergyStat.fromJson(Map<String, dynamic> json)
factory

Properties

amount → int
The number of data values within this EnergyStat
final
hashCode → int
The hash code for this object.
no setterinherited
level → int
The level from detailed to coarse, from 0 to 5. In German, "ebene".
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timesType → int
The length of each value in seconds.
final
values → List<int>
The values of this EnergyStat
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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