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.
 
 
 
 
 
 

22 lines
538 B

import 'package:huixiang/generated/json/base/json_field.dart';
import 'package:huixiang/generated/json/social_info.g.dart';
import 'dart:convert';
export 'package:huixiang/generated/json/social_info.g.dart';
@JsonSerializable()
class SocialInfo {
int? fans = 0;
int? follow = 0;
int? achievementNumber = 0;
SocialInfo();
factory SocialInfo.fromJson(Map<String, dynamic> json) => $SocialInfoFromJson(json);
Map<String, dynamic> toJson() => $SocialInfoToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}