copyWith method

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

Implementation

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