copyWith method

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

Implementation

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