mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-11-21 16:37:39 -06:00
fix config
This commit is contained in:
parent
c16888e214
commit
4b194345ae
@ -875,11 +875,12 @@ class VeilidConfigCapabilities {
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'disable': disable,
|
||||
'disable': disable.map((p) => p).toList(),
|
||||
};
|
||||
}
|
||||
|
||||
VeilidConfigCapabilities.fromJson(dynamic json) : disable = json['disable'];
|
||||
VeilidConfigCapabilities.fromJson(dynamic json)
|
||||
: disable = List<String>.from(json['disable'].map((j) => j));
|
||||
}
|
||||
|
||||
////////////
|
||||
|
Loading…
Reference in New Issue
Block a user