FuelEconomyValues class
Constructors
- FuelEconomyValues({required FuelEconomy from, required double number})
-
const
Properties
- from → FuelEconomy
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- number → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toKilometerPerLitre → double
-
no setter
- toLiterPer100Kilometres → double
-
no setter
- toMilePerImperialGallon → double
-
no setter
- toMilePerUsGallon → double
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
to(
FuelEconomy to) → double -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited