previous property
Returns the previous SlotTimeUnit or null
if this is the first SlotTimeUnit.
Implementation
SlotTimeUnit? get previous => index - 1 >= 0 ? SlotTimeUnit.values[index - 1] : null;
Returns the previous SlotTimeUnit or null
if this is the first SlotTimeUnit.
SlotTimeUnit? get previous => index - 1 >= 0 ? SlotTimeUnit.values[index - 1] : null;