ListUtil<T> extension

on

Methods

elementAtOrElse(int index, T defaultValue) → T

Available on List<T>, provided by the ListUtil extension

elementAtOrNull(int index) → T?

Available on List<T>, provided by the ListUtil extension

firstOrElse(T defaultValue) → T

Available on List<T>, provided by the ListUtil extension

firstOrNull() → T?

Available on List<T>, provided by the ListUtil extension

firstWhereOrNull(bool predicate(T element)) → T?

Available on List<T>, provided by the ListUtil extension