copyWith method

EditForumTopic copyWith({
  1. int? chatId,
  2. int? messageThreadId,
  3. String? name,
  4. bool? editIconCustomEmoji,
  5. int? iconCustomEmojiId,
})

Implementation

EditForumTopic copyWith({
  int? chatId,
  int? messageThreadId,
  String? name,
  bool? editIconCustomEmoji,
  int? iconCustomEmojiId,
}) =>
    EditForumTopic(
      chatId: chatId ?? this.chatId,
      messageThreadId: messageThreadId ?? this.messageThreadId,
      name: name ?? this.name,
      editIconCustomEmoji: editIconCustomEmoji ?? this.editIconCustomEmoji,
      iconCustomEmojiId: iconCustomEmojiId ?? this.iconCustomEmojiId,
    );