toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var value = this.value;
  var representation = this.representation;
  var embeddedContent = this.embeddedContent;

  final json = <String, Object?>{};
  json[r'value'] = value;
  json[r'representation'] = representation.value;
  json[r'embeddedContent'] = embeddedContent;
  return json;
}