mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 03:15:14 +08:00
16 lines
405 B
Dart
16 lines
405 B
Dart
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(),
|
|
);
|
|
}
|