getAllContacts static method

Future<List<Contact>> getAllContacts()

Implementation

static Future<List<Contact>> getAllContacts() async {
  Iterable contacts =
      (await _channel.invokeListMethod("getAllContacts")) as Iterable;
  return contacts.map((m) => Contact.fromMap(m)).toList();
}