findWhere method

Iterable<TModel> findWhere(
  1. bool fn(
    1. TModel e
    )
)

Find all the items that satisfy somoe criteria.

Implementation

Iterable<TModel> findWhere(bool Function(TModel e) fn) => items.values.where(fn);