copyWith method

MessageStory copyWith({
  1. int? storyPosterChatId,
  2. int? storyId,
  3. bool? viaMention,
})

Implementation

MessageStory copyWith({
  int? storyPosterChatId,
  int? storyId,
  bool? viaMention,
}) =>
    MessageStory(
      storyPosterChatId: storyPosterChatId ?? this.storyPosterChatId,
      storyId: storyId ?? this.storyId,
      viaMention: viaMention ?? this.viaMention,
    );