lastOrOption method
Returns the last element of an iterator, None if empty.
Implementation
@pragma('vm:prefer-inline')
Option<T> lastOrOption() => Option.from(lastOrNull);
Returns the last element of an iterator, None if empty.
@pragma('vm:prefer-inline')
Option<T> lastOrOption() => Option.from(lastOrNull);