getContact method

Future<Contact?> getContact(
  1. String id, {
  2. bool withProperties = true,
  3. bool withThumbnail = false,
  4. bool withPhoto = false,
})

Gets a specific contact by ID.

id - The contact ID to retrieve. withProperties - Include phone numbers, emails, etc. withThumbnail - Include thumbnail image. withPhoto - Include full-size photo.

Implementation

Future<Contact?> getContact(
  String id, {
  bool withProperties = true,
  bool withThumbnail = false,
  bool withPhoto = false,
}) {
  throw UnimplementedError('getContact() has not been implemented.');
}