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