copyWith method

RegisteredWebhook copyWith({
  1. int? createdWebhookId,
  2. List<String>? errors,
})

Implementation

RegisteredWebhook copyWith({int? createdWebhookId, List<String>? errors}) {
  return RegisteredWebhook(
    createdWebhookId: createdWebhookId ?? this.createdWebhookId,
    errors: errors ?? this.errors,
  );
}