CollectionsNullableExtensions<T> extension

on

Properties

isEmptyOrNull bool
Returns true if this nullable iterable is either null or empty.
no setter

Methods

any(bool predicate(T element)) bool
Returns true if at least one element matches the given predicate.
concatWithMultipleList(List<Iterable<T>> iterables) List<T>
Return a list concatenates the output of the current list and multiple iterables
concatWithSingleList(Iterable<T> iterable) List<T>
Return a list concatenates the output of the current list and another iterable
orEmpty() Iterable<T>
Returns this Iterable if it's not null and the empty list otherwise.
zip<T>(Iterable<T> iterable) → dynamic
Zip is used to combine multiple iterables into a single list that contains the combination of them two.