toJson method

Map<String, Object?> toJson()

Implementation

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

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