postCreateTickets method

Future<void> postCreateTickets(
  1. String header,
  2. String message,
  3. TicketType ticketType, {
  4. int? ticketId,
})

Parameters:

Implementation

Future<void> postCreateTickets(String header, String message, TicketType ticketType, { int? ticketId, }) async {
  final response = await postCreateTicketsWithHttpInfo(header, message, ticketType,  ticketId: ticketId, );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}