mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 01:44:19 +01:00
24 lines
346 B
Dart
24 lines
346 B
Dart
class WebAppItem {
|
|
String link;
|
|
|
|
String name;
|
|
|
|
String desc;
|
|
|
|
String? image;
|
|
|
|
List<String> types;
|
|
|
|
WebAppItem(this.link, this.name, this.desc, this.types, {this.image});
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {
|
|
"link": link,
|
|
"name": name,
|
|
"desc": desc,
|
|
"image": image,
|
|
"types": types,
|
|
};
|
|
}
|
|
}
|