updateWhereEmit abstract method

int updateWhereEmit(
  1. bool matcher(
    1. T item
    ),
  2. T updater(
    1. T item
    )
)

Updates all items that match the predicate. Returns the number of items updated.

Implementation

int updateWhereEmit(
    bool Function(T item) matcher, T Function(T item) updater);