cancel method
Parameters:
-
int id (required):
-
CancelledModel model (required):
-
Object authorization:
Implementation
Future<void> cancel(int id, CancelledModel model,
{required Object authorization}) async {
var response =
await cancelWithHttpInfo(id, model, authorization: authorization);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}