removeNulls method
void
removeNulls()
Removes all null
s from the List.
See also: whereNotNull
in FicIterableExtension for a lazy version.
See also: removeDuplicates which can also remove nulls.
Implementation
void removeNulls() {
removeWhere((element) => element == null);
}