where method
Returns a new list with all elements of this list that satisfy the given
predicate
.
The matching elements have the same order in the returned list as they have in iterator.
Implementation
@override
ImmortalList<T> where(bool Function(T value) predicate) =>
ImmortalList(_list.where(predicate));