addContact function

Future<bool> addContact(
  1. String atsign, {
  2. String? nickName,
})

Adds atsign in contact list. If nickName is not null , it wll be set as nick name of the atsign.

Implementation

Future<bool> addContact(String atsign, {String? nickName}) async {
  return await ContactService().addAtSign(atSign: atsign, nickName: nickName);
}