lateCancellation method

Future<void> lateCancellation(
  1. int id,
  2. CancelledModel model, {
  3. required Object authorization,
})

Parameters:

Implementation

Future<void> lateCancellation(
  int id,
  CancelledModel model, {
  required Object authorization,
}) async {
  final response = await lateCancellationWithHttpInfo(
    id,
    model,
    authorization: authorization,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}