or method

Filter<T> or(
  1. Filter<T> otherFilter
)

Implementation

Filter<T> or(Filter<T> otherFilter) {
  return Filter(
    (el) => filter(el) || otherFilter(el),
    description: '$description OR ${otherFilter.description}',
  );
}