MessageStatistics.fromJson constructor

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

Parse from a json

Implementation

factory MessageStatistics.fromJson(Map<String, dynamic> json) =>
    MessageStatistics(
      messageInteractionGraph:
          StatisticalGraph.fromJson(json['message_interaction_graph']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );