selectAtSign method
dynamic
selectAtSign(
- AtContact? contact
Implementation
selectAtSign(AtContact? contact) {
try {
if (selectedContacts.length <= 25 &&
!selectedContacts.contains(contact)) {
selectedContacts.add(contact);
} else {
limitReached = true;
}
selectedContactSink.add(selectedContacts);
} catch (error) {
print(error);
}
}