copyWith method
ChatStatisticsChannel
copyWith({
- DateRange? period,
- StatisticalValue? memberCount,
- StatisticalValue? meanMessageViewCount,
- StatisticalValue? meanMessageReactionCount,
- StatisticalValue? meanStoryViewCount,
- StatisticalValue? meanStoryReactionCount,
- double? enabledNotificationsPercentage,
- StatisticalGraph? memberCountGraph,
- StatisticalGraph? joinGraph,
- StatisticalGraph? muteGraph,
- StatisticalGraph? viewCountByHourGraph,
- StatisticalGraph? viewCountBySourceGraph,
- StatisticalGraph? joinBySourceGraph,
- StatisticalGraph? languageGraph,
- StatisticalGraph? messageInteractionGraph,
- StatisticalGraph? messageReactionGraph,
- StatisticalGraph? storyInteractionGraph,
- StatisticalGraph? storyReactionGraph,
- StatisticalGraph? instantViewInteractionGraph,
- List<
ChatStatisticsInteractionInfo> ? recentInteractions, - dynamic extra,
- int? clientId,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
ChatStatisticsChannel copyWith({
DateRange? period,
StatisticalValue? memberCount,
StatisticalValue? meanMessageViewCount,
StatisticalValue? meanMessageShareCount,
StatisticalValue? meanMessageReactionCount,
StatisticalValue? meanStoryViewCount,
StatisticalValue? meanStoryShareCount,
StatisticalValue? meanStoryReactionCount,
double? enabledNotificationsPercentage,
StatisticalGraph? memberCountGraph,
StatisticalGraph? joinGraph,
StatisticalGraph? muteGraph,
StatisticalGraph? viewCountByHourGraph,
StatisticalGraph? viewCountBySourceGraph,
StatisticalGraph? joinBySourceGraph,
StatisticalGraph? languageGraph,
StatisticalGraph? messageInteractionGraph,
StatisticalGraph? messageReactionGraph,
StatisticalGraph? storyInteractionGraph,
StatisticalGraph? storyReactionGraph,
StatisticalGraph? instantViewInteractionGraph,
List<ChatStatisticsInteractionInfo>? recentInteractions,
dynamic extra,
int? clientId,
}) =>
ChatStatisticsChannel(
period: period ?? this.period,
memberCount: memberCount ?? this.memberCount,
meanMessageViewCount: meanMessageViewCount ?? this.meanMessageViewCount,
meanMessageShareCount:
meanMessageShareCount ?? this.meanMessageShareCount,
meanMessageReactionCount:
meanMessageReactionCount ?? this.meanMessageReactionCount,
meanStoryViewCount: meanStoryViewCount ?? this.meanStoryViewCount,
meanStoryShareCount: meanStoryShareCount ?? this.meanStoryShareCount,
meanStoryReactionCount:
meanStoryReactionCount ?? this.meanStoryReactionCount,
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,
messageReactionGraph: messageReactionGraph ?? this.messageReactionGraph,
storyInteractionGraph:
storyInteractionGraph ?? this.storyInteractionGraph,
storyReactionGraph: storyReactionGraph ?? this.storyReactionGraph,
instantViewInteractionGraph:
instantViewInteractionGraph ?? this.instantViewInteractionGraph,
recentInteractions: recentInteractions ?? this.recentInteractions,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);