elementAtOrNull method
Returns an element at the given index
or null
if the index
is out of bounds of this collection.
Implementation
T? elementAtOrNull(int index) => getOrNull(index);
Returns an element at the given index
or null
if the index
is out of bounds of this collection.
T? elementAtOrNull(int index) => getOrNull(index);