ListExtension<E> extension
- on
-
- List<
E>
- List<
Methods
-
addAllIf(
dynamic condition, Iterable< E> items) → void -
Adds Iterable<E> to List<E> only if
condition
is true. -
addIf(
dynamic condition, E item) → void -
Add
item
to List -
addNonNull(
E item) → void -
Add
item
to List<E> only ifitem
is not null. -
assign(
E item) → void -
Replaces all existing items of this list with
item
-
assignAll(
Iterable< E> items) → void -
Replaces all existing items of this list with
items