updateContact method

Future<Result<Contact>> updateContact(
  1. Contact contact
)

Updates an existing contact

contact - The contact with updated information Returns the updated contact

Implementation

Future<Result<Contact>> updateContact(Contact contact) async {
  _ensureInitialized();
  return _repository.updateContact(contact);
}