toJsonLd method
Serialize SchemaLinkRole to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'LinkRole',
'inLanguage': convertToJsonLd(inLanguage, [SchemaLanguage, String]),
'linkRelationship': convertToJsonLd(linkRelationship, [String]),
});