replaceRowByValue method
void
replaceRowByValue(
- T oldValue,
- T newValue
Replace the first master row equal to oldValue with newValue.
Implementation
void replaceRowByValue(T oldValue, T newValue) {
final i = _all.indexOf(oldValue);
if (i >= 0) _structural(() => _all[i] = newValue);
}