UNIT top-level property

Map<String, num> UNIT
getter/setter pair

Implementation

Map<String, num> UNIT = {
  'zero': 0,
  'first': 1,
  'one': 1,
  'second': 2,
  'two': 2,
  'third': 3,
  'three': 3,
  'thirteenth': 13,
  'thirteen': 13,
  'fourth': 4,
  'four': 4,
  'fourteenth': 14,
  'fourteen': 14,
  'fifteenth': 15,
  'fifteen': 15,
  'fifth': 5,
  'five': 5,
  'sixth': 6,
  'sixteenth': 16,
  'sixteen': 16,
  'six': 6,
  'seventeenth': 17,
  'seventeen': 17,
  'seventh': 7,
  'seven': 7,
  'eighteenth': 18,
  'eighteen': 18,
  'eighth': 8,
  'eight': 8,
  'nineteenth': 19,
  'nineteen': 19,
  'ninth': 9,
  'nine': 9,
  'tenth': 10,
  'ten': 10,
  'eleventh': 11,
  'eleven': 11,
  'twelfth': 12,
  'twelve': 12,
  'a': 1,
  ...TEN
};