mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 03:02:22 +01:00
18 lines
350 B
Dart
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
|
|
};
|
|
}
|