/// name : "4" /// number : 8 class MsgStats { MsgStats({ String name, int number,}){ _name = name; _number = number; } MsgStats.fromJson(dynamic json) { _name = json['name']; _number = json['number']; } String _name; int _number; String get name => _name; int get number => _number; Map toJson() { final map = {}; map['name'] = _name; map['number'] = _number; return map; } }