MeterFigure class final

A meter's figures as the newest use answer gave them; at is the server's time (ms).

Inheritance

Constructors

MeterFigure({required int left, required int total, required int offline, required bool resets, required int at})
const

Properties

at → int
final
base → BaseFigure
no setter
hashCode → int
The hash code for this object.
no setteroverride
left → int
finalinherited
offline → int
finalinherited
resets → bool
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
total → int
finalinherited

Methods

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

Operators

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

Static Methods

fromJson(Object? json) → MeterFigure?
A stored figure, or null when it is not a whole figure set with a time.