api and storage restructure

This commit is contained in:
2026-05-05 22:00:07 +02:00
parent 4f796dac2e
commit 9b5a70b285
53 changed files with 318 additions and 460 deletions
+14
View File
@@ -0,0 +1,14 @@
import 'package:json_annotation/json_annotation.dart';
part 'notification_settings.g.dart';
@JsonSerializable()
class NotificationSettings {
bool askUsageDismissed;
bool enabled;
NotificationSettings({required this.askUsageDismissed, required this.enabled});
factory NotificationSettings.fromJson(Map<String, dynamic> json) => _$NotificationSettingsFromJson(json);
Map<String, dynamic> toJson() => _$NotificationSettingsToJson(this);
}