dateUnits top-level property

List<TimeSpanUnit> dateUnits
final

Implementation

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