majro update

This commit is contained in:
Fabian Freund committed 2025-02-28 14:30:49 +01:00
1 parent a8957f6cf8
commit 3c4d479bd9
181 files changed
+7090 -5299

No files matched your search

@@ -0,0 +1,17 @@
import 'dart:convert';
import 'package:drift/drift.dart';
class StringListConverter extends TypeConverter<List<String>, String> {
const StringListConverter();
@override
List<String> fromSql(String fromDb) {
return jsonDecode(fromDb) as List<String>;
}
@override
String toSql(List<String> value) {
return jsonEncode(value);
}
}