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.

37 lines
573 B

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