app/lib/data/sc_localization_data.dart

44 lines
996 B
Dart
Raw Permalink Normal View History

2023-10-12 20:50:50 +08:00
/// enable : true
/// versionName : "3.21.1(PU)_CNE_V2"
2023-12-06 20:59:49 +08:00
/// updateAt : "2023-12-03: 14:50:00"
/// info : "简体中文半汉化(物品名称英文版)"
2023-12-06 20:59:49 +08:00
/// game_channel : "PU"
/// note : ""
2023-10-09 09:32:07 +08:00
class ScLocalizationData {
ScLocalizationData({
2024-02-06 20:19:53 +08:00
this.enable,
this.versionName,
this.updateAt,
this.info,
this.gameChannel,
this.note,
});
2023-10-09 09:32:07 +08:00
ScLocalizationData.fromJson(dynamic json) {
enable = json['enable'];
versionName = json['versionName'];
updateAt = json['updateAt'];
info = json['info'];
2023-12-06 20:59:49 +08:00
gameChannel = json['game_channel'];
note = json['note'];
2023-10-09 09:32:07 +08:00
}
bool? enable;
String? versionName;
String? updateAt;
String? info;
2023-12-06 20:59:49 +08:00
String? gameChannel;
String? note;
2023-10-09 09:32:07 +08:00
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['enable'] = enable;
map['versionName'] = versionName;
map['updateAt'] = updateAt;
map['info'] = info;
2023-12-06 20:59:49 +08:00
map['game_channel'] = gameChannel;
map['note'] = note;
2023-10-09 09:32:07 +08:00
return map;
}
2024-02-06 20:19:53 +08:00
}