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
SetChatPinnedStories copyWith({int? chatId, List<int>? storyIds}) =>
SetChatPinnedStories(
chatId: chatId ?? this.chatId,
storyIds: storyIds ?? this.storyIds,
);