mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 16:46:22 +08:00
14 lines
361 B
Dart
14 lines
361 B
Dart
class BadgeInfo {
|
|
String? bgColor;
|
|
String? bgColorNight;
|
|
String? text;
|
|
|
|
BadgeInfo({this.bgColor, this.bgColorNight, this.text});
|
|
|
|
factory BadgeInfo.fromJson(Map<String, dynamic> json) => BadgeInfo(
|
|
bgColor: json['bg_color'] as String?,
|
|
bgColorNight: json['bg_color_night'] as String?,
|
|
text: json['text'] as String?,
|
|
);
|
|
}
|