modelsDestroy method

Future<void> modelsDestroy(
  1. String id
)

Remove a model. Be cautious, this is permanent!

Parameters:

  • String id (required): A UUID string identifying this Model.

Implementation

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