copyWithWrapped method
Implementation
PaymentInitiationPaymentListResponse copyWithWrapped(
{Wrapped<List<PaymentInitiationPayment>>? payments,
Wrapped<DateTime?>? nextCursor,
Wrapped<String>? requestId}) {
return PaymentInitiationPaymentListResponse(
payments: (payments != null ? payments.value : this.payments),
nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
requestId: (requestId != null ? requestId.value : this.requestId));
}