fetchContactList function

Future<List<AtContact>?> fetchContactList()

gives list of AtContact

Implementation

Future<List<AtContact>?> fetchContactList() async {
  return await ContactService().fetchContacts();
}