copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
MessageForumTopicEdited copyWith({
String? name,
bool? editIconCustomEmojiId,
int? iconCustomEmojiId,
}) =>
MessageForumTopicEdited(
name: name ?? this.name,
editIconCustomEmojiId:
editIconCustomEmojiId ?? this.editIconCustomEmojiId,
iconCustomEmojiId: iconCustomEmojiId ?? this.iconCustomEmojiId,
);