IterableElementAtOrDefault<E> extension

on

Methods

elementAtOrDefault(int index, E defaultValue) → E
Returns an element at the given index or defaultValue if the index is out of bounds of this collection.