toJsonLd method
Serialize SchemaBroadcastChannel to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'BroadcastChannel',
'broadcastChannelId': convertToJsonLd(broadcastChannelId, [String]),
'broadcastFrequency': convertToJsonLd(broadcastFrequency,
[SchemaBroadcastFrequencySpecification, String]),
'broadcastServiceTier': convertToJsonLd(broadcastServiceTier, [String]),
'genre': convertToJsonLd(genre, [SchemaDefinedTerm, String]),
'inBroadcastLineup':
convertToJsonLd(inBroadcastLineup, [SchemaCableOrSatelliteService]),
'providesBroadcastService':
convertToJsonLd(providesBroadcastService, [SchemaBroadcastService]),
});