shortLabels top-level property
Implementation
final Map<TimeSpanUnit, String?> shortLabels =
Map.fromEntries(TimeSpanUnit.values.map((v) => MapEntry(v, v.shortLabel)));
final Map<TimeSpanUnit, String?> shortLabels =
Map.fromEntries(TimeSpanUnit.values.map((v) => MapEntry(v, v.shortLabel)));