cancelOccurrence method
Parameters:
-
CancelledSeriesModel model (required):
-
Object authorization:
Implementation
Future<void> cancelOccurrence(
CancelledSeriesModel model, {
required Object authorization,
}) async {
final response = await cancelOccurrenceWithHttpInfo(
model,
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}