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