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