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.
19 lines
403 B
19 lines
403 B
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'social_info.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class SocialInfo {
|
||
|
int? fans = 0;
|
||
|
int? follow = 0;
|
||
|
int? achievementNumber = 0;
|
||
|
int? mutualFollowCount = 0;
|
||
|
|
||
|
SocialInfo();
|
||
|
|
||
|
factory SocialInfo.fromJson(Map<String, dynamic> json) => _$SocialInfoFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$SocialInfoToJson(this);
|
||
|
|
||
|
|
||
|
}
|