Condition.fromJson constructor
Implementation
factory Condition.fromJson(Map<String, dynamic> json) {
return Condition(
conditions: (json['Conditions'] as List?)
?.whereNotNull()
.map((e) => SimpleCondition.fromJson(e as Map<String, dynamic>))
.toList(),
operator: (json['Operator'] as String?)?.toOperator(),
);
}