mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
15
lib/models_new/space/space/like_archive.dart
Normal file
15
lib/models_new/space/space/like_archive.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:PiliPlus/models_new/space/space_archive/item.dart';
|
||||
|
||||
class LikeArchive {
|
||||
int? count;
|
||||
List<SpaceArchiveItem>? item;
|
||||
|
||||
LikeArchive({this.count, this.item});
|
||||
|
||||
factory LikeArchive.fromJson(Map<String, dynamic> json) => LikeArchive(
|
||||
count: json['count'] as int?,
|
||||
item: (json['item'] as List<dynamic>?)
|
||||
?.map((e) => SpaceArchiveItem.fromJson(e))
|
||||
.toList(),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user