processEvent method
Process an event
Parameters:
-
String keygenSignature (required): The signature of the event payload.
-
WebhookEvent webhookEvent:
Implementation
Future<void> processEvent(String keygenSignature, { WebhookEvent? webhookEvent, }) async {
final response = await processEventWithHttpInfo(keygenSignature, webhookEvent: webhookEvent, );
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}