ObjectBox

This commit is contained in:
Sven committed 2025-10-23 11:28:03 +02:00
1 parent e548f62bde
commit f8317be627
60 files changed
+2367 -15049

No files matched your search

+3 -4
View File
@@ -93,11 +93,10 @@ class Util {
var logEntry = LogEntry();
logEntry.time = DateTime.now();
logEntry.text = text;
logEntry.severity = severity;
logEntry.severityEnum = severity;
await MyApp.isarInstance.writeTxn(() async {
await MyApp.isarInstance.logEntrys.put(logEntry);
});
final box = MyApp.objectBoxStore.box<LogEntry>();
box.put(logEntry);
}
static logInfo(String message) {