where method

RecordedEventList<E> where(
  1. bool predicate(
    1. E event
    )
)

Implementation

RecordedEventList<E> where(bool Function(E event) predicate) {
  return RecordedEventList(_events.where(predicate).toList());
}