copyWith method

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

Implementation

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