toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var conditions = this.conditions;
  var nodeType = this.nodeType;
  var operator$ = this.operator$;

  final json = <String, Object?>{};
  json[r'conditions'] = conditions.map((i) => i.toJson()).toList();
  json[r'nodeType'] = nodeType;
  json[r'operator'] = operator$.value;
  return json;
}