copyWith method

ForumTopics copyWith({
  1. int? totalCount,
  2. List<ForumTopic>? topics,
  3. int? nextOffsetDate,
  4. int? nextOffsetMessageId,
  5. int? nextOffsetMessageThreadId,
  6. dynamic extra,
  7. int? clientId,
})

Implementation

ForumTopics copyWith({
  int? totalCount,
  List<ForumTopic>? topics,
  int? nextOffsetDate,
  int? nextOffsetMessageId,
  int? nextOffsetMessageThreadId,
  dynamic extra,
  int? clientId,
}) =>
    ForumTopics(
      totalCount: totalCount ?? this.totalCount,
      topics: topics ?? this.topics,
      nextOffsetDate: nextOffsetDate ?? this.nextOffsetDate,
      nextOffsetMessageId: nextOffsetMessageId ?? this.nextOffsetMessageId,
      nextOffsetMessageThreadId:
          nextOffsetMessageThreadId ?? this.nextOffsetMessageThreadId,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );