copyWith method

GetMessage copyWith({
  1. int? chatId,
  2. int? messageId,
})

Implementation

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