SetExtension<E> extension
- on
-
- Set<
E>
- Set<
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<E> only ifcondition
is true. -
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