ChatStatisticsMessageSenderInfo.fromJson constructor

ChatStatisticsMessageSenderInfo.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory ChatStatisticsMessageSenderInfo.fromJson(Map<String, dynamic> json) => ChatStatisticsMessageSenderInfo(
  userId: json['user_id'],
  sentMessageCount: json['sent_message_count'],
  averageCharacterCount: json['average_character_count'],
);