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

16 lines
387 B
Dart

class Danmaku {
String? icon;
String? pureText;
String? text;
int? value;
Danmaku({this.icon, this.pureText, this.text, this.value});
factory Danmaku.fromJson(Map<String, dynamic> json) => Danmaku(
icon: json['icon'] as String?,
pureText: json['pure_text'] as String?,
text: json['text'] as String?,
value: json['value'] as int?,
);
}