copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GetChatStoryInteractions copyWith({
int? storyPosterChatId,
int? storyId,
ReactionType? Function()? reactionType,
bool? preferForwards,
String? offset,
int? limit,
}) => GetChatStoryInteractions(
storyPosterChatId: storyPosterChatId ?? this.storyPosterChatId,
storyId: storyId ?? this.storyId,
reactionType: reactionType != null ? reactionType() : this.reactionType,
preferForwards: preferForwards ?? this.preferForwards,
offset: offset ?? this.offset,
limit: limit ?? this.limit,
);