implemented user backups

This commit is contained in:
Fabian Freund
2025-12-18 18:38:06 +01:00
parent 2f1ecd50e1
commit 018915298a
19 changed files with 1172 additions and 78 deletions
+3 -1
View File
@@ -34,10 +34,12 @@ class Profile with FastEquatable {
late final uuidValue = UuidValue.fromString(id);
static String getNewProfileId() => uuid.v7();
Profile({required this.id, required this.name});
factory Profile.create({required String name}) {
return Profile(id: uuid.v7(), name: name);
return Profile(id: getNewProfileId(), name: name);
}
@override