mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
18 lines
522 B
Dart
18 lines
522 B
Dart
import 'package:PiliPlus/models/bangumi/pgc_review/list.dart';
|
|
|
|
class PgcReviewData {
|
|
List<PgcReviewItemModel>? list;
|
|
String? next;
|
|
int? count;
|
|
|
|
PgcReviewData({this.list, this.next, this.count});
|
|
|
|
factory PgcReviewData.fromJson(Map<String, dynamic> json) => PgcReviewData(
|
|
list: (json['list'] as List<dynamic>?)
|
|
?.map((e) => PgcReviewItemModel.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
next: json['next'] as String?,
|
|
count: json['count'] as int?,
|
|
);
|
|
}
|