copyWith method

IncomeVerificationStatusWebhook copyWith({
  1. String? webhookType,
  2. String? webhookCode,
  3. String? itemId,
  4. String? userId,
  5. String? verificationStatus,
  6. WebhookEnvironmentValues? environment,
})

Implementation

IncomeVerificationStatusWebhook copyWith(
    {String? webhookType,
    String? webhookCode,
    String? itemId,
    String? userId,
    String? verificationStatus,
    enums.WebhookEnvironmentValues? environment}) {
  return IncomeVerificationStatusWebhook(
      webhookType: webhookType ?? this.webhookType,
      webhookCode: webhookCode ?? this.webhookCode,
      itemId: itemId ?? this.itemId,
      userId: userId ?? this.userId,
      verificationStatus: verificationStatus ?? this.verificationStatus,
      environment: environment ?? this.environment);
}