IterableElementAtOrElse<E> extension
- on
-
- Iterable<
E>
- Iterable<
Methods
-
elementAtOrElse(
int index, E defaultValue(int index)) → E -
Available on Iterable<
Returns an element at the givenE> , provided by the IterableElementAtOrElse extensionindexor the result of calling thedefaultValuefunction if theindexis out of bounds of this collection.