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:
23
lib/models/space/space.g.dart
Normal file
23
lib/models/space/space.g.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'space.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Space _$SpaceFromJson(Map<String, dynamic> json) => Space(
|
||||
code: (json['code'] as num?)?.toInt(),
|
||||
message: json['message'] as String?,
|
||||
ttl: (json['ttl'] as num?)?.toInt(),
|
||||
data: json['data'] == null
|
||||
? null
|
||||
: Data.fromJson(json['data'] as Map<String, dynamic>),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$SpaceToJson(Space instance) => <String, dynamic>{
|
||||
'code': instance.code,
|
||||
'message': instance.message,
|
||||
'ttl': instance.ttl,
|
||||
'data': instance.data,
|
||||
};
|
||||
Reference in New Issue
Block a user