mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: repost dynamic
This commit is contained in:
@@ -556,11 +556,9 @@ class DynamicOpusModel {
|
||||
String? title;
|
||||
DynamicOpusModel.fromJson(Map<String, dynamic> json) {
|
||||
jumpUrl = json['jump_url'];
|
||||
pics = json['pics'] != null
|
||||
? json['pics']
|
||||
.map<OpusPicsModel>((e) => OpusPicsModel.fromJson(e))
|
||||
.toList()
|
||||
: [];
|
||||
pics = json['pics']
|
||||
?.map<OpusPicsModel>((e) => OpusPicsModel.fromJson(e))
|
||||
.toList();
|
||||
summary =
|
||||
json['summary'] != null ? SummaryModel.fromJson(json['summary']) : null;
|
||||
title = json['title'];
|
||||
|
||||
Reference in New Issue
Block a user