last property

Returns units.last, will throw StateError if units is empty

Implementation

DurationUnit get last => units.last;