copyWithWrapped method
Implementation
PaymentConsentValidDateTime copyWithWrapped(
{Wrapped<DateTime?>? from, Wrapped<DateTime?>? to}) {
return PaymentConsentValidDateTime(
from: (from != null ? from.value : this.from),
to: (to != null ? to.value : this.to));
}