next property
Returns the next SlotTimeUnit or null
if this is the last SlotTimeUnit.
Implementation
SlotTimeUnit? get next => index + 1 < SlotTimeUnit.values.length ? SlotTimeUnit.values[index + 1] : null;
Returns the next SlotTimeUnit or null
if this is the last SlotTimeUnit.
SlotTimeUnit? get next => index + 1 < SlotTimeUnit.values.length ? SlotTimeUnit.values[index + 1] : null;