copyWith method

  1. @override
ChatStatisticsSupergroup copyWith({
  1. DateRange? period,
  2. StatisticalValue? memberCount,
  3. StatisticalValue? messageCount,
  4. StatisticalValue? viewerCount,
  5. StatisticalValue? senderCount,
  6. StatisticalGraph? memberCountGraph,
  7. StatisticalGraph? joinGraph,
  8. StatisticalGraph? joinBySourceGraph,
  9. StatisticalGraph? languageGraph,
  10. StatisticalGraph? messageContentGraph,
  11. StatisticalGraph? actionGraph,
  12. StatisticalGraph? dayGraph,
  13. StatisticalGraph? weekGraph,
  14. List<ChatStatisticsMessageSenderInfo>? topSenders,
  15. List<ChatStatisticsAdministratorActionsInfo>? topAdministrators,
  16. List<ChatStatisticsInviterInfo>? topInviters,
  17. dynamic extra,
  18. int? clientId,
})
override

Implementation

@override
ChatStatisticsSupergroup copyWith({
  DateRange? period,
  StatisticalValue? memberCount,
  StatisticalValue? messageCount,
  StatisticalValue? viewerCount,
  StatisticalValue? senderCount,
  StatisticalGraph? memberCountGraph,
  StatisticalGraph? joinGraph,
  StatisticalGraph? joinBySourceGraph,
  StatisticalGraph? languageGraph,
  StatisticalGraph? messageContentGraph,
  StatisticalGraph? actionGraph,
  StatisticalGraph? dayGraph,
  StatisticalGraph? weekGraph,
  List<ChatStatisticsMessageSenderInfo>? topSenders,
  List<ChatStatisticsAdministratorActionsInfo>? topAdministrators,
  List<ChatStatisticsInviterInfo>? topInviters,
  dynamic extra,
  int? clientId,
}) =>
    ChatStatisticsSupergroup(
      period: period ?? this.period,
      memberCount: memberCount ?? this.memberCount,
      messageCount: messageCount ?? this.messageCount,
      viewerCount: viewerCount ?? this.viewerCount,
      senderCount: senderCount ?? this.senderCount,
      memberCountGraph: memberCountGraph ?? this.memberCountGraph,
      joinGraph: joinGraph ?? this.joinGraph,
      joinBySourceGraph: joinBySourceGraph ?? this.joinBySourceGraph,
      languageGraph: languageGraph ?? this.languageGraph,
      messageContentGraph: messageContentGraph ?? this.messageContentGraph,
      actionGraph: actionGraph ?? this.actionGraph,
      dayGraph: dayGraph ?? this.dayGraph,
      weekGraph: weekGraph ?? this.weekGraph,
      topSenders: topSenders ?? this.topSenders,
      topAdministrators: topAdministrators ?? this.topAdministrators,
      topInviters: topInviters ?? this.topInviters,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );