copyWith method

ChatEventForumTopicEdited copyWith({
  1. ForumTopicInfo? oldTopicInfo,
  2. ForumTopicInfo? newTopicInfo,
})

Implementation

ChatEventForumTopicEdited copyWith({
  ForumTopicInfo? oldTopicInfo,
  ForumTopicInfo? newTopicInfo,
}) =>
    ChatEventForumTopicEdited(
      oldTopicInfo: oldTopicInfo ?? this.oldTopicInfo,
      newTopicInfo: newTopicInfo ?? this.newTopicInfo,
    );