/// fans : 0 /// follow : 0 class SocialInfo { SocialInfo({ int fans, int follow, int achievementNumber}){ _fans = fans; _follow = follow; _achievementNumber = achievementNumber; } SocialInfo.fromJson(dynamic json) { _fans = json['fans']; _follow = json['follow']; _achievementNumber = json['achievementNumber']; } int _fans; int _follow; int _achievementNumber; int get fans => _fans; int get follow => _follow; int get achievementNumber => _achievementNumber; set fans(int value) { _fans = value; } Map toJson() { final map = {}; map['fans'] = _fans; map['follow'] = _follow; map['achievementNumber'] = _achievementNumber; return map; } set follow(int value) { _follow = value; } set achievementNumber(int value) { _achievementNumber = value; } }