Filter the value using the predicate.
predicate
@override Nothing<T> where(bool Function(T value) predicate) => this;