mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
@@ -8,10 +8,10 @@ class PgcReviewData {
|
||||
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'] ?? json['total'],
|
||||
);
|
||||
list: (json['list'] as List<dynamic>?)
|
||||
?.map((e) => PgcReviewItemModel.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
next: json['next'] as String?,
|
||||
count: json['count'] ?? json['total'],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user