mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-18 10:04:20 +01:00
add web apps
This commit is contained in:
23
lib/router/web_apps/web_app_item.dart
Normal file
23
lib/router/web_apps/web_app_item.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
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,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user