copyWith method

StoryStatistics copyWith({
  1. StatisticalGraph? storyInteractionGraph,
  2. StatisticalGraph? storyReactionGraph,
})

Implementation

StoryStatistics copyWith({
  StatisticalGraph? storyInteractionGraph,
  StatisticalGraph? storyReactionGraph,
}) =>
    StoryStatistics(
      storyInteractionGraph:
          storyInteractionGraph ?? this.storyInteractionGraph,
      storyReactionGraph: storyReactionGraph ?? this.storyReactionGraph,
    );