modelsImageDestroy method

Future<void> modelsImageDestroy(
  1. String id
)

Delete an image.

Parameters:

Implementation

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