copyWith method

FoundStories copyWith({
  1. int? totalCount,
  2. List<Story>? stories,
  3. String? nextOffset,
})

Implementation

FoundStories copyWith({
  int? totalCount,
  List<Story>? stories,
  String? nextOffset,
}) => FoundStories(
  totalCount: totalCount ?? this.totalCount,
  stories: stories ?? this.stories,
  nextOffset: nextOffset ?? this.nextOffset,
);