Refactor member page (#3)

* refactor: member page

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
This commit is contained in:
bggRGjQaUbCoE
2024-10-17 11:18:59 +08:00
committed by GitHub
parent 270bf0a4b6
commit f77088b870
205 changed files with 70072 additions and 119 deletions

View File

@@ -0,0 +1,35 @@
import 'package:json_annotation/json_annotation.dart';
import 'senior_inquiry.dart';
part 'level_info.g.dart';
@JsonSerializable()
class LevelInfo {
@JsonKey(name: 'current_level')
int? currentLevel;
@JsonKey(name: 'current_min')
int? currentMin;
@JsonKey(name: 'current_exp')
int? currentExp;
@JsonKey(name: 'next_exp')
dynamic nextExp;
int? identity;
@JsonKey(name: 'senior_inquiry')
SeniorInquiry? seniorInquiry;
LevelInfo({
this.currentLevel,
this.currentMin,
this.currentExp,
this.nextExp,
this.identity,
this.seniorInquiry,
});
factory LevelInfo.fromJson(Map<String, dynamic> json) {
return _$LevelInfoFromJson(json);
}
Map<String, dynamic> toJson() => _$LevelInfoToJson(this);
}