replaceWhere method
Implementation
void replaceWhere(T value, bool Function(T) compareFn) {
final index = indexWhere(compareFn);
if (index == -1) {
return;
}
this[index] = value;
}
void replaceWhere(T value, bool Function(T) compareFn) {
final index = indexWhere(compareFn);
if (index == -1) {
return;
}
this[index] = value;
}