toJsonLd method

  1. @override
Map<String, dynamic> toJsonLd()
override

Serialize SchemaAPIReference to JSON-LD

Implementation

@override
Map<String, dynamic> toJsonLd() => removeEmpty({
      ...super.toJsonLd(),
      '@type': 'APIReference',
      'assembly': convertToJsonLd(assembly),
      'assemblyVersion': convertToJsonLd(assemblyVersion),
      'executableLibraryName': convertToJsonLd(executableLibraryName),
      'programmingModel': convertToJsonLd(programmingModel),
      'targetPlatform': convertToJsonLd(targetPlatform),
    });