copyWith method

PaymentInitiationPaymentListResponse copyWith({
  1. List<PaymentInitiationPayment>? payments,
  2. DateTime? nextCursor,
  3. String? requestId,
})

Implementation

PaymentInitiationPaymentListResponse copyWith(
    {List<PaymentInitiationPayment>? payments,
    DateTime? nextCursor,
    String? requestId}) {
  return PaymentInitiationPaymentListResponse(
      payments: payments ?? this.payments,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}