ordersModelsFilesDestroy method

Future<void> ordersModelsFilesDestroy(
  1. int orderId,
  2. int id,
  3. String fileId
)

Delete file.

Parameters:

  • int orderId (required):

  • int id (required):

  • String fileId (required):

Implementation

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