toJsonLd method
Serialize SchemaServiceChannel to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'ServiceChannel',
'availableLanguage':
convertToJsonLd(availableLanguage, [SchemaLanguage, String]),
'processingTime': convertToJsonLd(processingTime, [SchemaDuration]),
'providesService': convertToJsonLd(providesService, [SchemaService]),
'serviceLocation': convertToJsonLd(serviceLocation, [SchemaPlace]),
'servicePhone': convertToJsonLd(servicePhone, [SchemaContactPoint]),
'servicePostalAddress':
convertToJsonLd(servicePostalAddress, [SchemaPostalAddress]),
'serviceSmsNumber':
convertToJsonLd(serviceSmsNumber, [SchemaContactPoint]),
'serviceUrl': convertToJsonLd(serviceUrl, [String]),
});