toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'arguments'] = arguments;
  if (encodedOperand != null) {
    json[r'encodedOperand'] = encodedOperand;
  }
  json[r'function'] = function;
  return json;
}