mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-30 15:25:47 +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:
20
lib/models/space/resource.g.dart
Normal file
20
lib/models/space/resource.g.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'resource.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Resource _$ResourceFromJson(Map<String, dynamic> json) => Resource(
|
||||
resType: (json['res_type'] as num?)?.toInt(),
|
||||
resNativeDraw: json['res_native_draw'] == null
|
||||
? null
|
||||
: ResNativeDraw.fromJson(
|
||||
json['res_native_draw'] as Map<String, dynamic>),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$ResourceToJson(Resource instance) => <String, dynamic>{
|
||||
'res_type': instance.resType,
|
||||
'res_native_draw': instance.resNativeDraw,
|
||||
};
|
||||
Reference in New Issue
Block a user