mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 07:54:44 +08:00
Upgrade to flutter_rust_bridge V2
This commit is contained in:
@ -8,13 +8,14 @@
|
||||
|
||||
class AppPlacardData {
|
||||
AppPlacardData({
|
||||
this.version,
|
||||
this.title,
|
||||
this.content,
|
||||
this.link,
|
||||
this.linkType,
|
||||
this.alwaysShow,
|
||||
this.enable,});
|
||||
this.version,
|
||||
this.title,
|
||||
this.content,
|
||||
this.link,
|
||||
this.linkType,
|
||||
this.alwaysShow,
|
||||
this.enable,
|
||||
});
|
||||
|
||||
AppPlacardData.fromJson(dynamic json) {
|
||||
version = json['version'];
|
||||
@ -44,5 +45,4 @@ class AppPlacardData {
|
||||
map['enable'] = enable;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,14 @@
|
||||
|
||||
class AppWebLocalizationVersionsData {
|
||||
AppWebLocalizationVersionsData({
|
||||
this.rsi,
|
||||
this.uex,
|
||||
this.addresses,
|
||||
this.concierge,
|
||||
this.hangar,
|
||||
this.orgs,
|
||||
this.dps,});
|
||||
this.rsi,
|
||||
this.uex,
|
||||
this.addresses,
|
||||
this.concierge,
|
||||
this.hangar,
|
||||
this.orgs,
|
||||
this.dps,
|
||||
});
|
||||
|
||||
AppWebLocalizationVersionsData.fromJson(dynamic json) {
|
||||
rsi = json['rsi'];
|
||||
@ -44,5 +45,4 @@ class AppWebLocalizationVersionsData {
|
||||
map['dps'] = dps;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,9 @@
|
||||
class CountdownFestivalItemData {
|
||||
CountdownFestivalItemData({
|
||||
this.name,
|
||||
this.time,
|
||||
this.icon,});
|
||||
this.name,
|
||||
this.time,
|
||||
this.icon,
|
||||
});
|
||||
|
||||
CountdownFestivalItemData.fromJson(dynamic json) {
|
||||
name = json['name'];
|
||||
@ -20,5 +21,4 @@ class CountdownFestivalItemData {
|
||||
map['icon'] = icon;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -9,14 +9,15 @@
|
||||
|
||||
class GamePerformanceData {
|
||||
GamePerformanceData({
|
||||
this.key,
|
||||
this.name,
|
||||
this.info,
|
||||
this.type,
|
||||
this.max,
|
||||
this.min,
|
||||
this.value,
|
||||
this.group,});
|
||||
this.key,
|
||||
this.name,
|
||||
this.info,
|
||||
this.type,
|
||||
this.max,
|
||||
this.min,
|
||||
this.value,
|
||||
this.group,
|
||||
});
|
||||
|
||||
GamePerformanceData.fromJson(dynamic json) {
|
||||
key = json['key'];
|
||||
@ -49,5 +50,4 @@ class GamePerformanceData {
|
||||
map['group'] = group;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -7,12 +7,13 @@
|
||||
|
||||
class ScLocalizationData {
|
||||
ScLocalizationData({
|
||||
this.enable,
|
||||
this.versionName,
|
||||
this.updateAt,
|
||||
this.info,
|
||||
this.gameChannel,
|
||||
this.note,});
|
||||
this.enable,
|
||||
this.versionName,
|
||||
this.updateAt,
|
||||
this.info,
|
||||
this.gameChannel,
|
||||
this.note,
|
||||
});
|
||||
|
||||
ScLocalizationData.fromJson(dynamic json) {
|
||||
enable = json['enable'];
|
||||
@ -39,5 +40,4 @@ class ScLocalizationData {
|
||||
map['note'] = note;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user