addContact method

void addContact(
  1. Contact contact
)

Implementation

void addContact(Contact contact) {
  _contacts.add(contact);
}