mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 07:54:44 +08:00
feat: p4k 分流增加版本信息
This commit is contained in:
@ -1,27 +1,32 @@
|
||||
/// name : "Data.p4k"
|
||||
/// update_at : "2024-02-24 18:00"
|
||||
/// url : "https://p4k.42kit.com/3.22.1-LIVE.9072370/Data.p4k.torrent"
|
||||
/// update_at : "2024-09-03 15:00"
|
||||
/// url : "https://p4k.42kit.com/3.24.1-LIVE.9234446/Data.p4k.torrent"
|
||||
/// info : "3.24.1-LIVE.9234446"
|
||||
|
||||
class AppTorrentData {
|
||||
AppTorrentData({
|
||||
this.name,
|
||||
this.updateAt,
|
||||
this.url,});
|
||||
this.url,
|
||||
this.info,});
|
||||
|
||||
AppTorrentData.fromJson(dynamic json) {
|
||||
name = json['name'];
|
||||
updateAt = json['update_at'];
|
||||
url = json['url'];
|
||||
info = json['info'];
|
||||
}
|
||||
String? name;
|
||||
String? updateAt;
|
||||
String? url;
|
||||
String? info;
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final map = <String, dynamic>{};
|
||||
map['name'] = name;
|
||||
map['update_at'] = updateAt;
|
||||
map['url'] = url;
|
||||
map['info'] = info;
|
||||
return map;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user