opt handle res

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-25 11:16:35 +08:00
parent f29385ccef
commit fd55383778
91 changed files with 957 additions and 387 deletions

View File

@@ -0,0 +1,17 @@
import 'package:PiliPlus/models/pgc/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?,
);
}