updateGroup method
Implementation
@override
updateGroup(Group group) {
int matchingIndex = list.indexWhere((element) =>
((element.conversationWith is Group) &&
((element.conversationWith as Group).guid == group.guid)));
if (matchingIndex != -1) {
list[matchingIndex].conversationWith = group;
update();
}
}