toJsonLd method
Serialize SchemaPharmacy to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'Pharmacy',
'healthPlanNetworkId': convertToJsonLd(healthPlanNetworkId, [String]),
'isAcceptingNewPatients':
convertToJsonLd(isAcceptingNewPatients, [bool]),
'medicalSpecialty':
convertToJsonLd(medicalSpecialty, [SchemaMedicalSpecialty]),
});