RunPoint class
Constructors
Properties
- at ↔ DateTime?
-
At is when the run was recorded.
getter/setter pair
- delta ↔ num?
-
Delta is the change in score from the previous run for this model, absent on the first. It is the number the whole surface exists to make visible.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- n ↔ int?
-
N is how many items the run covered. Two runs are only comparable at the same n, which is why it travels with every point rather than being assumed.
getter/setter pair
- run ↔ String?
-
Run is the measurement id these attempts were recorded under.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score ↔ num?
-
Score is accuracy over the items this run covered, as a percentage.
getter/setter pair
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → RunPoint? -
Returns a new RunPoint instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< RunPoint> -
mapFromJson(
dynamic json) → Map< String, RunPoint> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< RunPoint> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.