copyWith method

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

Implementation

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