toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'label'] = label.toJson();
  if (associatedContents != null) {
    json[r'associatedContents'] = associatedContents.toJson();
  }
  return json;
}