updateGroup method
TableSyncState
updateGroup(
- String groupID,
- TableSyncGroupState update(
- TableSyncGroupState current
Implementation
TableSyncState updateGroup(
String groupID,
TableSyncGroupState Function(TableSyncGroupState current) update,
) {
return copyWith(
groups: {
...groups,
groupID: update(group(groupID)),
},
);
}