shortLabels top-level property

Map<TimeSpanUnit, String?> shortLabels
final

Implementation

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