Files
PiliPlus/lib/models/pgc/pgc_info_model/vip_label.dart
bggRGjQaUbCoE 924d51d41b opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-05-29 17:17:42 +08:00

24 lines
537 B
Dart

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?,
);
}