onItemUpdated method
Called when an item is updated in the list. Override this method to add custom logic after item update.
oldItem - The item before update
newItem - The item after update
updatedList - The list after the update
Implementation
@override
void onItemUpdated(Group oldItem, Group newItem, List<Group> updatedList) {
if (!isClosed) {
add(_ListStateChanged(groups: updatedList, isEmpty: false));
}
}