mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
17 lines
310 B
Dart
17 lines
310 B
Dart
class TopLeft {
|
|
String? image;
|
|
String? text;
|
|
|
|
TopLeft({this.image, this.text});
|
|
|
|
factory TopLeft.fromJson(Map<String, dynamic> json) => TopLeft(
|
|
image: json['image'] as String?,
|
|
text: json['text'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'image': image,
|
|
'text': text,
|
|
};
|
|
}
|