updateGroup method
Implementation
void updateGroup(OdooGroup updated) {
_update((v) => v.copyWith(
groups: v.groups
.map((g) => g.id == updated.id ? updated : g)
.toList(),
));
}
void updateGroup(OdooGroup updated) {
_update((v) => v.copyWith(
groups: v.groups
.map((g) => g.id == updated.id ? updated : g)
.toList(),
));
}