replaceWhere method
Implementation
bool replaceWhere(
ReplaceValidator<T> validator, ReplaceValue<T> replaceValue) {
bool hasReplaced = false;
for (final item in elements) {
if (item.replaceWhere(validator, replaceValue)) hasReplaced = true;
}
return hasReplaced;
}