ListX<T> extension
Extensions for List.
- on
-
- List<
T>
- List<
Properties
Methods
-
ifEmpty(
List< T> value) → List<T> -
Available on List<
Returns this List if it's not empty, otherwise returnsT> , provided by the ListX extensionvalue
. -
move(
T element, int index) → void -
Available on List<
Moves theT> , provided by the ListX extensionelement
to the specifiedindex
position in this List. -
split(
int size) → Iterable< List< T> > -
Available on List<
Splits elements of this List into chunks ofT> , provided by the ListX extensionsize
length.