MessageStat.fromJson constructor

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

Implementation

factory MessageStat.fromJson(Map<String, dynamic> json) {
  return MessageStat(views: json['views'] as int);
}