mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: show member article
This commit is contained in:
19
lib/models/space_article/category.g.dart
Normal file
19
lib/models/space_article/category.g.dart
Normal file
@@ -0,0 +1,19 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'category.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Category _$CategoryFromJson(Map<String, dynamic> json) => Category(
|
||||
id: (json['id'] as num?)?.toInt(),
|
||||
parentId: (json['parent_id'] as num?)?.toInt(),
|
||||
name: json['name'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$CategoryToJson(Category instance) => <String, dynamic>{
|
||||
'id': instance.id,
|
||||
'parent_id': instance.parentId,
|
||||
'name': instance.name,
|
||||
};
|
||||
Reference in New Issue
Block a user