mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
@@ -16,12 +16,12 @@ class ContentAttr {
|
||||
});
|
||||
|
||||
factory ContentAttr.fromJson(Map<String, dynamic> json) => ContentAttr(
|
||||
text: json['text'] as String?,
|
||||
bgColor: json['bg_color'] as String?,
|
||||
bgColorNight: json['bg_color_night'] as String?,
|
||||
img: json['img'] as String?,
|
||||
multiImg: json['multi_img'] == null
|
||||
? null
|
||||
: MultiImg.fromJson(json['multi_img'] as Map<String, dynamic>),
|
||||
);
|
||||
text: json['text'] as String?,
|
||||
bgColor: json['bg_color'] as String?,
|
||||
bgColorNight: json['bg_color_night'] as String?,
|
||||
img: json['img'] as String?,
|
||||
multiImg: json['multi_img'] == null
|
||||
? null
|
||||
: MultiImg.fromJson(json['multi_img'] as Map<String, dynamic>),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user