getContacts method

Future<List<Contact>> getContacts (
  1. {bool withPhotos: false,
  2. bool sorted: true}
)

//////////////////////////////////////////////// FETCHING CONTACTS /// //////////////////////////////////////////////// Fetches all contacts (IDs, display names, and optionally low-res photos)

Implementation

/// Fetches all contacts (IDs, display names, and optionally low-res photos)
static Future<List<Contact>> getContacts(
        {bool withPhotos = false, bool sorted = true}) async =>
    await _get(withPhotos: withPhotos, sorted: sorted);