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,28 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'level_info.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
LevelInfo _$LevelInfoFromJson(Map<String, dynamic> json) => LevelInfo(
currentLevel: (json['current_level'] as num?)?.toInt(),
currentMin: (json['current_min'] as num?)?.toInt(),
currentExp: (json['current_exp'] as num?)?.toInt(),
nextExp: json['next_exp'],
identity: (json['identity'] as num?)?.toInt(),
seniorInquiry: json['senior_inquiry'] == null
? null
: SeniorInquiry.fromJson(
json['senior_inquiry'] as Map<String, dynamic>),
);
Map<String, dynamic> _$LevelInfoToJson(LevelInfo instance) => <String, dynamic>{
'current_level': instance.currentLevel,
'current_min': instance.currentMin,
'current_exp': instance.currentExp,
'next_exp': instance.nextExp,
'identity': instance.identity,
'senior_inquiry': instance.seniorInquiry,
};