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 extensionindex
or the result of calling thedefaultValue
function if theindex
is out of bounds of this collection.