copyWith method

  1. @override
ChatStatisticsChannel copyWith({
  1. DateRange? period,
  2. StatisticalValue? memberCount,
  3. StatisticalValue? meanViewCount,
  4. StatisticalValue? meanShareCount,
  5. double? enabledNotificationsPercentage,
  6. StatisticalGraph? memberCountGraph,
  7. StatisticalGraph? joinGraph,
  8. StatisticalGraph? muteGraph,
  9. StatisticalGraph? viewCountByHourGraph,
  10. StatisticalGraph? viewCountBySourceGraph,
  11. StatisticalGraph? joinBySourceGraph,
  12. StatisticalGraph? languageGraph,
  13. StatisticalGraph? messageInteractionGraph,
  14. StatisticalGraph? instantViewInteractionGraph,
  15. List<ChatStatisticsMessageInteractionInfo>? recentMessageInteractions,
  16. dynamic extra,
  17. int? clientId,
})
override

Implementation

@override
ChatStatisticsChannel copyWith({
  DateRange? period,
  StatisticalValue? memberCount,
  StatisticalValue? meanViewCount,
  StatisticalValue? meanShareCount,
  double? enabledNotificationsPercentage,
  StatisticalGraph? memberCountGraph,
  StatisticalGraph? joinGraph,
  StatisticalGraph? muteGraph,
  StatisticalGraph? viewCountByHourGraph,
  StatisticalGraph? viewCountBySourceGraph,
  StatisticalGraph? joinBySourceGraph,
  StatisticalGraph? languageGraph,
  StatisticalGraph? messageInteractionGraph,
  StatisticalGraph? instantViewInteractionGraph,
  List<ChatStatisticsMessageInteractionInfo>? recentMessageInteractions,
  dynamic extra,
  int? clientId,
}) =>
    ChatStatisticsChannel(
      period: period ?? this.period,
      memberCount: memberCount ?? this.memberCount,
      meanViewCount: meanViewCount ?? this.meanViewCount,
      meanShareCount: meanShareCount ?? this.meanShareCount,
      enabledNotificationsPercentage: enabledNotificationsPercentage ??
          this.enabledNotificationsPercentage,
      memberCountGraph: memberCountGraph ?? this.memberCountGraph,
      joinGraph: joinGraph ?? this.joinGraph,
      muteGraph: muteGraph ?? this.muteGraph,
      viewCountByHourGraph: viewCountByHourGraph ?? this.viewCountByHourGraph,
      viewCountBySourceGraph:
          viewCountBySourceGraph ?? this.viewCountBySourceGraph,
      joinBySourceGraph: joinBySourceGraph ?? this.joinBySourceGraph,
      languageGraph: languageGraph ?? this.languageGraph,
      messageInteractionGraph:
          messageInteractionGraph ?? this.messageInteractionGraph,
      instantViewInteractionGraph:
          instantViewInteractionGraph ?? this.instantViewInteractionGraph,
      recentMessageInteractions:
          recentMessageInteractions ?? this.recentMessageInteractions,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );