GetOrNull<T> extension

on
  • Iterable<T>

Methods

getOrNull(int index) → T?

Available on Iterable<T>, provided by the GetOrNull extension

Returns the element of position index of the list or null if index is out of bounds.