fix config
This commit is contained in:
parent
c16888e214
commit
4b194345ae
@ -875,11 +875,12 @@ class VeilidConfigCapabilities {
|
|||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
return {
|
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