toJsonLd method
Serialize SchemaMedicalRiskFactor to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'MedicalRiskFactor',
'increasesRiskOf':
convertToJsonLd(increasesRiskOf, [SchemaMedicalEntity]),
});