addToContacts method

void addToContacts(
  1. User user
)

Adds a user to the ContactService's address book.

Implementation

void addToContacts(User user) {
  _contactService.createChatContact(user);
}