toJsonLd method
Serialize SchemaHealthPlanFormulary to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'HealthPlanFormulary',
'healthPlanCostSharing': convertToJsonLd(healthPlanCostSharing,
[SchemaHealthPlanCostSharingSpecification, bool]),
'healthPlanDrugTier': convertToJsonLd(healthPlanDrugTier, [String]),
'offersPrescriptionByMail':
convertToJsonLd(offersPrescriptionByMail, [bool]),
});