toJson method
Implementation
Map<String, Object?> toJson() {
var conditionGroups = this.conditionGroups;
var conditions = this.conditions;
var operation = this.operation;
final json = <String, Object?>{};
json[r'conditionGroups'] = conditionGroups.map((i) => i.toJson()).toList();
json[r'conditions'] = conditions.map((i) => i.toJson()).toList();
json[r'operation'] = operation.value;
return json;
}