mapSymbols constant

Map<POWER, String?> const mapSymbols

Map between units and its symbol

Implementation

static const Map<POWER, String?> mapSymbols = {
  POWER.watt: 'W',
  POWER.milliwatt: 'mW',
  POWER.kilowatt: 'kW',
  POWER.megawatt: 'MW',
  POWER.gigawatt: 'GW',
  POWER.europeanHorsePower: 'hp(M)',
  POWER.imperialHorsePower: 'hp(I)',
};