timeUnits top-level property

List<TimeSpanUnit> timeUnits
final

Implementation

final timeUnits = [...TimeSpanUnit.values.where((u) => u.isTimeField)];