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