copyWith method

ChatActiveStories copyWith({
  1. int? chatId,
  2. StoryList? list,
  3. int? order,
  4. int? maxReadStoryId,
  5. List<StoryInfo>? stories,
  6. dynamic extra,
  7. int? clientId,
})

Implementation

ChatActiveStories copyWith({
  int? chatId,
  StoryList? list,
  int? order,
  int? maxReadStoryId,
  List<StoryInfo>? stories,
  dynamic extra,
  int? clientId,
}) =>
    ChatActiveStories(
      chatId: chatId ?? this.chatId,
      list: list ?? this.list,
      order: order ?? this.order,
      maxReadStoryId: maxReadStoryId ?? this.maxReadStoryId,
      stories: stories ?? this.stories,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );