unitMap top-level constant

Map<String, String> const unitMap

Implementation

const unitMap = {
  'y': DateUnit.y,
  'M': DateUnit.M,
  'd': DateUnit.d,
  'D': DateUnit.D,
  'w': DateUnit.w,
  'h': DateUnit.h,
  'm': DateUnit.m,
  's': DateUnit.s,
  'ms': DateUnit.ms
};