mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 09:06:36 +08:00
refa: live page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
20
lib/models/live/live_feed_index/quality_description.dart
Normal file
20
lib/models/live/live_feed_index/quality_description.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
class QualityDescription {
|
||||
int? qn;
|
||||
String? desc;
|
||||
|
||||
QualityDescription({this.qn, this.desc});
|
||||
|
||||
factory QualityDescription.fromJson(Map<String, dynamic> json) {
|
||||
return QualityDescription(
|
||||
qn: json['qn'] as int?,
|
||||
desc: json['desc'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'qn': qn,
|
||||
'desc': desc,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user