mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-10-08 00:51:13 +02:00
all profiles as lists, better handling, stop using a fallback profile for broken submissions without one
This commit is contained in:
1 parent
f1f145a35f
commit
0db4c0f80d
5 files changed
+143
-259
No files matched your search
@@ -91,7 +91,7 @@ class PendingUpload {
|
||||
direction: j['dir'],
|
||||
profile: j['profile'] is Map<String, dynamic>
|
||||
? NodeProfile.fromJson(j['profile'])
|
||||
: NodeProfile.genericAlpr(),
|
||||
: throw Exception('PendingUpload missing required profile data - this should never happen'),
|
||||
operatorProfile: j['operatorProfile'] != null
|
||||
? OperatorProfile.fromJson(j['operatorProfile'])
|
||||
: null,
|
||||
|
||||
Reference in new issue
Block a user