mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-29 12:35:13 +08:00
re init
This commit is contained in:
38
lib/data/sc_localization_data.dart
Normal file
38
lib/data/sc_localization_data.dart
Normal file
@ -0,0 +1,38 @@
|
||||
/// enable : false
|
||||
/// versionName : "3.21.0(PU)_CN_V0"
|
||||
/// updateAt : "2023-10-5: 10:15:00"
|
||||
/// info : "简体中文汉化"
|
||||
/// channel : "PTU"
|
||||
|
||||
class ScLocalizationData {
|
||||
ScLocalizationData({
|
||||
this.enable,
|
||||
this.versionName,
|
||||
this.updateAt,
|
||||
this.info,
|
||||
this.channel,});
|
||||
|
||||
ScLocalizationData.fromJson(dynamic json) {
|
||||
enable = json['enable'];
|
||||
versionName = json['versionName'];
|
||||
updateAt = json['updateAt'];
|
||||
info = json['info'];
|
||||
channel = json['channel'];
|
||||
}
|
||||
bool? enable;
|
||||
String? versionName;
|
||||
String? updateAt;
|
||||
String? info;
|
||||
String? channel;
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final map = <String, dynamic>{};
|
||||
map['enable'] = enable;
|
||||
map['versionName'] = versionName;
|
||||
map['updateAt'] = updateAt;
|
||||
map['info'] = info;
|
||||
map['channel'] = channel;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user