addAllNotNull method

void addAllNotNull(
  1. Iterable<T?> items
)

Adds all items that are not null the list.

Implementation

void addAllNotNull(Iterable<T?> items) {
  for (final item in items) {
    maybeAdd(item);
  }
}