copyWith method

StoryOriginPublicStory copyWith({
  1. int? chatId,
  2. int? storyId,
})

Implementation

StoryOriginPublicStory copyWith({int? chatId, int? storyId}) =>
    StoryOriginPublicStory(
      chatId: chatId ?? this.chatId,
      storyId: storyId ?? this.storyId,
    );