mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 08:38:37 +00:00
13
lib/models_new/media_list/badge.dart
Normal file
13
lib/models_new/media_list/badge.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
class Badge {
|
||||
String? text;
|
||||
int? bgStyle;
|
||||
String? img;
|
||||
|
||||
Badge({this.text, this.bgStyle, this.img});
|
||||
|
||||
factory Badge.fromJson(Map<String, dynamic> json) => Badge(
|
||||
text: json['text'] as String?,
|
||||
bgStyle: json['bg_style'] as int?,
|
||||
img: json['img'] as String?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user