copyWith method

SendPaymentForm copyWith({
  1. InputInvoice? inputInvoice,
  2. int? paymentFormId,
  3. String? orderInfoId,
  4. String? shippingOptionId,
  5. InputCredentials? credentials,
  6. int? tipAmount,
})

Implementation

SendPaymentForm copyWith({
  InputInvoice? inputInvoice,
  int? paymentFormId,
  String? orderInfoId,
  String? shippingOptionId,
  InputCredentials? credentials,
  int? tipAmount,
}) =>
    SendPaymentForm(
      inputInvoice: inputInvoice ?? this.inputInvoice,
      paymentFormId: paymentFormId ?? this.paymentFormId,
      orderInfoId: orderInfoId ?? this.orderInfoId,
      shippingOptionId: shippingOptionId ?? this.shippingOptionId,
      credentials: credentials ?? this.credentials,
      tipAmount: tipAmount ?? this.tipAmount,
    );