removeWere method
Implementation
Future<void> removeWere(bool Function(T) filter) async {
var _list = dataList;
while (true) {
int index = _list.indexWhere(filter);
if (index != -1) {
removeItem(_list[index], index);
} else {
break;
}
}
}