copyWith method

ChatStatisticsMessageSenderInfo copyWith({
  1. int? userId,
  2. int? sentMessageCount,
  3. int? averageCharacterCount,
})

Implementation

ChatStatisticsMessageSenderInfo copyWith({
  int? userId,
  int? sentMessageCount,
  int? averageCharacterCount,
}) => ChatStatisticsMessageSenderInfo(
  userId: userId ?? this.userId,
  sentMessageCount: sentMessageCount ?? this.sentMessageCount,
  averageCharacterCount: averageCharacterCount ?? this.averageCharacterCount,
);