copyWith method

PendingExpirationWebhook copyWith({
  1. String? webhookType,
  2. String? webhookCode,
  3. String? itemId,
  4. String? consentExpirationTime,
})

Implementation

PendingExpirationWebhook copyWith(
    {String? webhookType,
    String? webhookCode,
    String? itemId,
    String? consentExpirationTime}) {
  return PendingExpirationWebhook(
      webhookType: webhookType ?? this.webhookType,
      webhookCode: webhookCode ?? this.webhookCode,
      itemId: itemId ?? this.itemId,
      consentExpirationTime:
          consentExpirationTime ?? this.consentExpirationTime);
}