mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
Refactor member page (#3)
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
28
lib/models/space/level_info.g.dart
Normal file
28
lib/models/space/level_info.g.dart
Normal 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,
|
||||
};
|
||||
Reference in New Issue
Block a user