ListExtension<T> extension

on

Methods

clone({Copier<T> copier}) List<T>
Copies the list. Optionally pass in a copier to actually copy indices instead of copying references
copy({Copier<T> copier}) List<T>
Copies the list. Optionally pass in a copier to actually copy indices instead of copying references
first() → T
Returns the first value
last() → T
Returns the last value
middle() → T
Returns the middle value