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