copyWith method

StoryInteractionInfo copyWith({
  1. int? viewCount,
  2. List<int>? recentViewerUserIds,
})

Implementation

StoryInteractionInfo copyWith({
  int? viewCount,
  List<int>? recentViewerUserIds,
}) =>
    StoryInteractionInfo(
      viewCount: viewCount ?? this.viewCount,
      recentViewerUserIds: recentViewerUserIds ?? this.recentViewerUserIds,
    );