mod: 用户信息渲染、退出登录
This commit is contained in:
17
lib/models/user/stat.dart
Normal file
17
lib/models/user/stat.dart
Normal file
@ -0,0 +1,17 @@
|
||||
class UserStat {
|
||||
UserStat({
|
||||
this.following,
|
||||
this.follower,
|
||||
this.dynamicCount,
|
||||
});
|
||||
|
||||
int? following;
|
||||
int? follower;
|
||||
int? dynamicCount;
|
||||
|
||||
UserStat.fromJson(Map<String, dynamic> json) {
|
||||
following = json['following'];
|
||||
follower = json['follower'];
|
||||
dynamicCount = json['dynamic_count'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user