mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-11 08:00:50 -04:00
debug
This commit is contained in:
parent
40288f41ba
commit
9b04fb1e4b
3 changed files with 13 additions and 7 deletions
|
@ -175,8 +175,14 @@ sealed class VeilidUpdate with _$VeilidUpdate {
|
|||
required ValueData valueData,
|
||||
}) = VeilidUpdateValueChange;
|
||||
|
||||
factory VeilidUpdate.fromJson(dynamic json) =>
|
||||
_$VeilidUpdateFromJson(json as Map<String, dynamic>);
|
||||
factory VeilidUpdate.fromJson(dynamic json) {
|
||||
try {
|
||||
return _$VeilidUpdateFromJson(json as Map<String, dynamic>);
|
||||
} catch (e) {
|
||||
print('VeilidUpdateFromJson failed: $e');
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue