copyWith method
LiabilitiesDefaultUpdateWebhook
copyWith({
- String? webhookType,
- String? webhookCode,
- String? itemId,
- PlaidError? error,
- List<
String> ? accountIdsWithNewLiabilities, - LiabilitiesAccountIdsWithUpdatedLiabilities? accountIdsWithUpdatedLiabilities,
- WebhookEnvironmentValues? environment,
Implementation
LiabilitiesDefaultUpdateWebhook copyWith(
{String? webhookType,
String? webhookCode,
String? itemId,
PlaidError? error,
List<String>? accountIdsWithNewLiabilities,
LiabilitiesAccountIdsWithUpdatedLiabilities?
accountIdsWithUpdatedLiabilities,
enums.WebhookEnvironmentValues? environment}) {
return LiabilitiesDefaultUpdateWebhook(
webhookType: webhookType ?? this.webhookType,
webhookCode: webhookCode ?? this.webhookCode,
itemId: itemId ?? this.itemId,
error: error ?? this.error,
accountIdsWithNewLiabilities:
accountIdsWithNewLiabilities ?? this.accountIdsWithNewLiabilities,
accountIdsWithUpdatedLiabilities: accountIdsWithUpdatedLiabilities ??
this.accountIdsWithUpdatedLiabilities,
environment: environment ?? this.environment);
}