removeFirstWhere method
Implementation
int? removeFirstWhere(ReplaceValidator<T> f) {
for (var i = 0; i < length; i++) {
if (f(this[i])) {
removeAt(i);
return i;
}
}
return null;
}
int? removeFirstWhere(ReplaceValidator<T> f) {
for (var i = 0; i < length; i++) {
if (f(this[i])) {
removeAt(i);
return i;
}
}
return null;
}