MsListUtils<V> extension
- on
-
- List<
V>
- List<
Methods
-
addAround(
Generator< V> generate) → List<V> -
Available on List<
Returns new list with items generated aroundV> , provided by the MsListUtils extensionlist
-
addBetween(
Generator< V> generate) → List<V> -
Available on List<
Returns new list with items generated between list.V> , provided by the MsListUtils extension -
firstWhereOrAdd(
bool test(V element), OrAdd< V> orAdd) → V -
Available on List<
Returns the first element that satisfies the test if there isn't one add a new one and return it.V> , provided by the MsListUtils extension -
lastWhereOrAdd(
bool test(V element), OrAdd< V> orAdd) → V -
Available on List<
Returns the last element that satisfies the test if there isn't one add a new one and return it.V> , provided by the MsListUtils extension -
next(
int index) → V? -
Available on List<
Returns an element following the index, if out of bounds returns null.V> , provided by the MsListUtils extension -
previous(
int index) → V? -
Available on List<
Returns a preceding element in the index, if out of bounds returns null.V> , provided by the MsListUtils extension