copyWith method

PaymentConsentValidDateTime copyWith({
  1. DateTime? from,
  2. DateTime? to,
})

Implementation

PaymentConsentValidDateTime copyWith({DateTime? from, DateTime? to}) {
  return PaymentConsentValidDateTime(
      from: from ?? this.from, to: to ?? this.to);
}