Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-17 18:08:55 +08:00
parent 906c21e252
commit 1d4eabb770
58 changed files with 875 additions and 684 deletions

View File

@@ -6,30 +6,30 @@ 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;
@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,
});
LevelInfo({
this.currentLevel,
this.currentMin,
this.currentExp,
this.nextExp,
this.identity,
this.seniorInquiry,
});
factory LevelInfo.fromJson(Map<String, dynamic> json) {
return _$LevelInfoFromJson(json);
}
factory LevelInfo.fromJson(Map<String, dynamic> json) {
return _$LevelInfoFromJson(json);
}
Map<String, dynamic> toJson() => _$LevelInfoToJson(this);
Map<String, dynamic> toJson() => _$LevelInfoToJson(this);
}