copyWithWrapped method

PaymentConsentValidDateTime copyWithWrapped({
  1. Wrapped<DateTime?>? from,
  2. Wrapped<DateTime?>? to,
})

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));
}