toJson method

Map<String, Object?> toJson()

Implementation

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

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