deleteContact method

Future<void> deleteContact(
  1. String contactId
)

Delete contact

Parameters:

  • String contactId (required):

Implementation

Future<void> deleteContact(String contactId,) async {
  final response = await deleteContactWithHttpInfo(contactId,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}