WebhookResultDto constructor

WebhookResultDto({
  1. String? id,
  2. required String userId,
  3. String? inboxId,
  4. required String webhookId,
  5. required String webhookUrl,
  6. required String messageId,
  7. String? redriveId,
  8. required WebhookResultDtoHttpMethodEnum httpMethod,
  9. required WebhookResultDtoWebhookEventEnum webhookEvent,
  10. int? responseStatus,
  11. required int responseTimeMillis,
  12. String? responseBodyExtract,
  13. WebhookResultDtoResultTypeEnum? resultType,
  14. required DateTime createdAt,
  15. required DateTime updatedAt,
  16. required bool seen,
})

Returns a new WebhookResultDto instance.

Implementation

WebhookResultDto({
  this.id,
  required this.userId,
  this.inboxId,
  required this.webhookId,
  required this.webhookUrl,
  required this.messageId,
  this.redriveId,
  required this.httpMethod,
  required this.webhookEvent,
  this.responseStatus,
  required this.responseTimeMillis,
  this.responseBodyExtract,
  this.resultType,
  required this.createdAt,
  required this.updatedAt,
  required this.seen,
});