mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-04 17:50:13 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
23
lib/models/pgc/pgc_info_model/vip_label.dart
Normal file
23
lib/models/pgc/pgc_info_model/vip_label.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
class VipLabel {
|
||||
String? bgColor;
|
||||
int? bgStyle;
|
||||
String? borderColor;
|
||||
String? text;
|
||||
String? textColor;
|
||||
|
||||
VipLabel({
|
||||
this.bgColor,
|
||||
this.bgStyle,
|
||||
this.borderColor,
|
||||
this.text,
|
||||
this.textColor,
|
||||
});
|
||||
|
||||
factory VipLabel.fromJson(Map<String, dynamic> json) => VipLabel(
|
||||
bgColor: json['bg_color'] as String?,
|
||||
bgStyle: json['bg_style'] as int?,
|
||||
borderColor: json['border_color'] as String?,
|
||||
text: json['text'] as String?,
|
||||
textColor: json['text_color'] as String?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user