toJsonLd method
Serialize SchemaEntryPoint to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'EntryPoint',
'actionApplication': convertToJsonLd(actionApplication),
'actionPlatform': convertToJsonLd(actionPlatform,
(v) => v is SchemaDigitalPlatformEnumeration || v is String),
'application': convertToJsonLd(application),
'contentType': convertToJsonLd(contentType),
'encodingType': convertToJsonLd(encodingType),
'httpMethod': convertToJsonLd(httpMethod),
'urlTemplate': convertToJsonLd(urlTemplate),
});