copyWith method

  1. @override
MessagePaymentSuccessful copyWith({
  1. int? invoiceChatId,
  2. int? invoiceMessageId,
  3. String? currency,
  4. int? totalAmount,
})
override

Implementation

@override
MessagePaymentSuccessful copyWith({
  int? invoiceChatId,
  int? invoiceMessageId,
  String? currency,
  int? totalAmount,
}) => MessagePaymentSuccessful(
  invoiceChatId: invoiceChatId ?? this.invoiceChatId,
  invoiceMessageId: invoiceMessageId ?? this.invoiceMessageId,
  currency: currency ?? this.currency,
  totalAmount: totalAmount ?? this.totalAmount,
);