everything build but untested & migration not finished

This commit is contained in:
Fabian Freund
2024-10-09 13:27:42 +02:00
parent 37d2c84d7f
commit 2c71eeb670
132 changed files with 3790 additions and 2817 deletions
@@ -38,11 +38,15 @@ abstract class Source {
/// Initializes a [Source] of a correct type from its component properties.
/// Intended use is for restoring persisted state.
static Source restore(
int? sourceId, String? packageId, int? packageCategory) {
int? sourceId,
String? packageId,
int? packageCategory,
) {
final caller = packageId != null
? ExternalPackage(
packageId: packageId,
category: PackageCategory.fromInt(packageCategory).toValue())
category: PackageCategory.fromInt(packageCategory).toValue(),
)
: null;
switch (sourceId) {