Files
Reboot-Launcher/common/lib/src/model/fortnite_version.dart
Alessandro Autiero b41e22adeb <feat: New project structure>
<feat: New release>
2023-09-02 15:34:15 +02:00

18 lines
350 B
Dart

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