core/extensions/list_extensions library
Extensions
-
ListExtensions
on List<
T> -
An extension on List that provides a safe way to get an element at the
specified
index
, returning adefaultValue
if the index is out of bounds.
index
, returning a defaultValue
if the index is out of bounds.