Files
Reboot-Launcher/common/lib/src/model/fortnite_version.dart
Alessandro Autiero 9a000db3b7 10.0.8
2025-03-23 18:25:47 +01:00

20 lines
473 B
Dart

import 'dart:io';
class FortniteVersion {
String name;
String gameVersion;
Directory location;
FortniteVersion.fromJson(json)
: name = json["name"],
gameVersion = json["gameVersion"],
location = Directory(json["location"]);
FortniteVersion({required this.name, required this.gameVersion, required this.location});
Map<String, dynamic> toJson() => {
'name': name,
'gameVersion': gameVersion,
'location': location.path
};
}