toJsonLd method
Serialize SchemaBedDetails to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'BedDetails',
'numberOfBeds': convertToJsonLd(numberOfBeds, [num]),
'typeOfBed': convertToJsonLd(typeOfBed, [SchemaBedType, String]),
});