ordersModelsDestroy method

Future<void> ordersModelsDestroy(
  1. int orderId,
  2. int id
)

Delete model.

Parameters:

  • int orderId (required):

  • int id (required): A unique integer value identifying this Model.

Implementation

Future<void> ordersModelsDestroy(
  int orderId,
  int id,
) async {
  final response = await ordersModelsDestroyWithHttpInfo(
    orderId,
    id,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}