toJsonLd method
Serialize SchemaAPIReference to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'APIReference',
'assembly': convertToJsonLd(assembly, [String]),
'assemblyVersion': convertToJsonLd(assemblyVersion, [String]),
'executableLibraryName':
convertToJsonLd(executableLibraryName, [String]),
'programmingModel': convertToJsonLd(programmingModel, [String]),
'targetPlatform': convertToJsonLd(targetPlatform, [String]),
});