find method

Iterable<S> find(
  1. bool predicate(
    1. S item
    )
)

Find matching items based of predicate

Implementation

Iterable<S> find(bool Function(S item) predicate) => values.where(predicate);