copyWith method

StoryInfo copyWith({
  1. int? storyId,
  2. int? date,
  3. bool? isForCloseFriends,
})

Implementation

StoryInfo copyWith({
  int? storyId,
  int? date,
  bool? isForCloseFriends,
}) =>
    StoryInfo(
      storyId: storyId ?? this.storyId,
      date: date ?? this.date,
      isForCloseFriends: isForCloseFriends ?? this.isForCloseFriends,
    );