searchContacts method

Future<List<Contact>> searchContacts(
  1. String query, {
  2. bool withProperties = false,
  3. bool sorted = true,
})

Searches for contacts matching the given query.

query - The search term to match against contact names. withProperties - Include phone numbers, emails, etc. sorted - Sort results alphabetically.

Implementation

Future<List<Contact>> searchContacts(
  String query, {
  bool withProperties = false,
  bool sorted = true,
}) {
  throw UnimplementedError('searchContacts() has not been implemented.');
}