updateFirstWhere method
Updates the first items from current list, checked by condition
and updated by replace
.
Implementation
void updateFirstWhere(bool Function(T item) condition, void Function(T item) update) {
updateWhere(condition, update, count: 1);
}