ListExtension<E> extension Null safety

on

Properties

obs RxList<E>
read-only

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 if condition is true.
addNonNull(E item) → void
Add item to List<E> only if item 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