modelsModelDestroy method

Future<void> modelsModelDestroy(
  1. String id
)

Delete a file.

Parameters:

Implementation

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