defaultLabels top-level property

Map<TimeSpanUnit, String> defaultLabels
final

Implementation

final Map<TimeSpanUnit, String> defaultLabels =
    Map.fromEntries(TimeSpanUnit.values.map((v) => MapEntry(v, v.label)));