toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (entityId != null) 'entityId': entityId!,
  if (preferredTerm != null) 'preferredTerm': preferredTerm!,
  if (vocabularyCodes != null) 'vocabularyCodes': vocabularyCodes!,
};