toJsonLd method
Serialize SchemaLocationFeatureSpecification to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'LocationFeatureSpecification',
'hoursAvailable':
convertToJsonLd(hoursAvailable, [SchemaOpeningHoursSpecification]),
'validFrom': convertToJsonLd(validFrom, [String]),
'validThrough': convertToJsonLd(validThrough, [String]),
});