removeAllWhere method

void removeAllWhere(
  1. bool condition(
    1. T t,
    2. List<T> currList
    )
)

Implementation

void removeAllWhere(bool Function(T t, List<T> currList) condition) => update(() => _list.removeWhere((t) => condition(t, list)));