Returns all the selected UserIds.
List<UserId> selected() { return { ...selectedContacts.expand((e) => e.contact.value.users.map((u) => u.id)), ...selectedUsers.map((u) => u.id), }.toList(); }