copyWith method

TranslateMessageText copyWith({
  1. int? chatId,
  2. int? messageId,
  3. String? toLanguageCode,
})

Implementation

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