mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
@@ -9,11 +9,11 @@ class FavPgcData {
|
||||
FavPgcData({this.list, this.pn, this.ps, this.total});
|
||||
|
||||
factory FavPgcData.fromJson(Map<String, dynamic> json) => FavPgcData(
|
||||
list: (json['list'] as List<dynamic>?)
|
||||
?.map((e) => FavPgcItemModel.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
pn: json['pn'] as int?,
|
||||
ps: json['ps'] as int?,
|
||||
total: json['total'] as int?,
|
||||
);
|
||||
list: (json['list'] as List<dynamic>?)
|
||||
?.map((e) => FavPgcItemModel.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
pn: json['pn'] as int?,
|
||||
ps: json['ps'] as int?,
|
||||
total: json['total'] as int?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user