copyWith method
PendingExpirationWebhook
copyWith({
- String? webhookType,
- String? webhookCode,
- String? itemId,
- DateTime? consentExpirationTime,
- WebhookEnvironmentValues? environment,
Implementation
PendingExpirationWebhook copyWith(
{String? webhookType,
String? webhookCode,
String? itemId,
DateTime? consentExpirationTime,
enums.WebhookEnvironmentValues? environment}) {
return PendingExpirationWebhook(
webhookType: webhookType ?? this.webhookType,
webhookCode: webhookCode ?? this.webhookCode,
itemId: itemId ?? this.itemId,
consentExpirationTime:
consentExpirationTime ?? this.consentExpirationTime,
environment: environment ?? this.environment);
}