copyWith method

GetPaymentForm copyWith({
  1. int? chatId,
  2. int? messageId,
  3. PaymentFormTheme? theme,
})

Implementation

GetPaymentForm copyWith({
  int? chatId,
  int? messageId,
  PaymentFormTheme? theme,
}) => GetPaymentForm(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  theme: theme ?? this.theme,
);