updateContact method

  1. @override
Future<Contact> updateContact(
  1. Contact contact
)
override

Updates the contact if it has a valid identifier

Implementation

@override
Future<Contact> updateContact(Contact contact) async {
  final map = await channel.invokeMethod('updateContact', contact.toMap());
  return Contact.fromMap(map ?? {}, mode);
}