ChatStatisticsMessageSenderInfo class

Inheritance

Constructors

ChatStatisticsMessageSenderInfo({required int userId, required int sentMessageCount, required int averageCharacterCount})
Contains statistics about messages sent by a user
const
ChatStatisticsMessageSenderInfo.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

averageCharacterCount int
averageCharacterCount Average number of characters in sent messages; 0 if unknown
final
clientId int?
client identifier
no setterinherited
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sentMessageCount int
sentMessageCount Number of sent messages
final
userId int
userId User identifier
final

Methods

copyWith({int? userId, int? sentMessageCount, int? averageCharacterCount}) ChatStatisticsMessageSenderInfo
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String