toJsonLd method
Serialize SchemaVideoObject to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'VideoObject',
'actor': convertToJsonLd(actor, [SchemaPerformingGroup, SchemaPerson]),
'actors': convertToJsonLd(actors, [SchemaPerson]),
'caption': convertToJsonLd(caption, [SchemaMediaObject, String]),
'director': convertToJsonLd(director, [SchemaPerson]),
'directors': convertToJsonLd(directors, [SchemaPerson]),
'embeddedTextCaption': convertToJsonLd(embeddedTextCaption, [String]),
'musicBy': convertToJsonLd(musicBy, [SchemaMusicGroup, SchemaPerson]),
'transcript': convertToJsonLd(transcript, [String]),
'videoFrameSize': convertToJsonLd(videoFrameSize, [String]),
'videoQuality': convertToJsonLd(videoQuality, [String]),
});