removeSelectedContact method
Implementation
removeSelectedContact(int index) {
if (eventNotificationModel!.group!.members!.length > index &&
selectedContacts!.length > index) {
eventNotificationModel!.group!.members!.removeWhere(
(element) => element.atSign == selectedContacts![index].atSign);
selectedContacts!.removeAt(index);
selectedContactsAtSigns.removeAt(index);
}
}