RunLocationOdometer class Null safety
Run location odometer
- Inheritance
- Object
- EngineModel
- RunLocationOdometer
- Annotations
- @JsonSerializable()
- @DataClass()
Constructors
- RunLocationOdometer({num? plugin, num? customClean, num? customCleanAntihover})
- Run location odometer
- RunLocationOdometer.fromJson(Json json)
-
From Json
factory
Properties
- customClean → num?
-
The calculated odometer distance [...]
final
- customCleanAntihover → num?
-
The calculated clean odometer distance including hover logic
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- plugin → num?
-
The plugin odometer value
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
copyWith(
{num? plugin, num? customClean, num? customCleanAntihover}) → RunLocationOdometer -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Json -
To Json
override
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Methods
-
odometerFromJson(
Json json) → dynamic - Create location odometer from json