deleteEmergencyAddressWithHttpInfo method

Future<Response> deleteEmergencyAddressWithHttpInfo(
  1. String addressId
)

Performs an HTTP 'DELETE /phone/emergency-addresses/{addressId}' operation and returns the Response. Parameters:

  • String addressId (required):

Implementation

Future<Response> deleteEmergencyAddressWithHttpInfo(String addressId,) async {
  // ignore: prefer_const_declarations
  final path = r'/phone/emergency-addresses/{addressId}'
    .replaceAll('{addressId}', addressId);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'DELETE',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}