copyWith method

GetStoryInteractions copyWith({
  1. int? storyId,
  2. String? query,
  3. bool? onlyContacts,
  4. bool? preferForwards,
  5. bool? preferWithReaction,
  6. String? offset,
  7. int? limit,
})

Implementation

GetStoryInteractions copyWith({
  int? storyId,
  String? query,
  bool? onlyContacts,
  bool? preferForwards,
  bool? preferWithReaction,
  String? offset,
  int? limit,
}) => GetStoryInteractions(
  storyId: storyId ?? this.storyId,
  query: query ?? this.query,
  onlyContacts: onlyContacts ?? this.onlyContacts,
  preferForwards: preferForwards ?? this.preferForwards,
  preferWithReaction: preferWithReaction ?? this.preferWithReaction,
  offset: offset ?? this.offset,
  limit: limit ?? this.limit,
);