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