fromJson method
Implementation
Operator fromJson(Map<String, dynamic> json) {
List<Operator> subList = [];
json.entries.forEach((element) {
subList.add(DFS(json: Map.fromEntries([element])));
});
if (subList.length > 1) {
this.value = AndOperator(operators: subList);
} else {
this.value = subList.first;
}
return this.value;
}