ElementAtOrDefaultExtension<T> extension

on

Methods

elementAtOrDefault(int index, {required T defaultValue}) → T
Returns the element at the specified index or a default value of one is not found.