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