copyWith method

ToggleStoryIsPostedToChatPage copyWith({
  1. int? storyPosterChatId,
  2. int? storyId,
  3. bool? isPostedToChatPage,
})

Implementation

ToggleStoryIsPostedToChatPage copyWith({
  int? storyPosterChatId,
  int? storyId,
  bool? isPostedToChatPage,
}) =>
    ToggleStoryIsPostedToChatPage(
      storyPosterChatId: storyPosterChatId ?? this.storyPosterChatId,
      storyId: storyId ?? this.storyId,
      isPostedToChatPage: isPostedToChatPage ?? this.isPostedToChatPage,
    );