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