You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

47 lines
899 B

/// 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<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['fans'] = _fans;
map['follow'] = _follow;
map['achievementNumber'] = _achievementNumber;
return map;
}
set follow(int value) {
_follow = value;
}
set achievementNumber(int value) {
_achievementNumber = value;
}
}