toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var encodedOperand = this.encodedOperand;
  var values = this.values;

  final json = <String, Object?>{};
  if (encodedOperand != null) {
    json[r'encodedOperand'] = encodedOperand;
  }
  json[r'values'] = values.map((i) => i.toJson()).toList();
  return json;
}