FuelEconomy constructor

FuelEconomy(
  1. double fuelEconomy,
  2. FuelEconomyUnit unit
)

Implementation

FuelEconomy(double fuelEconomy, FuelEconomyUnit unit):
      value = FuelEconomyValue.from(unit, fuelEconomy);