terminateSeries method
Implementation
Future<void> terminateSeries(int recurrenceId,
{required Object authorization}) async {
final response = await terminateSeriesWithHttpInfo(
recurrenceId,
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}