toJsonLd method
Serialize SchemaTVEpisode to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'TVEpisode',
'partOfTVSeries': convertToJsonLd(partOfTVSeries, [SchemaTVSeries]),
'subtitleLanguage':
convertToJsonLd(subtitleLanguage, [SchemaLanguage, String]),
'titleEIDR': convertToJsonLd(titleEIDR, [String]),
});