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