toJsonLd method
Serialize SchemaHealthInsurancePlan to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'HealthInsurancePlan',
'benefitsSummaryUrl': convertToJsonLd(benefitsSummaryUrl, [String]),
'contactPoint': convertToJsonLd(contactPoint, [SchemaContactPoint]),
'healthPlanDrugOption': convertToJsonLd(healthPlanDrugOption, [String]),
'healthPlanDrugTier': convertToJsonLd(healthPlanDrugTier, [String]),
'healthPlanId': convertToJsonLd(healthPlanId, [String]),
'healthPlanMarketingUrl':
convertToJsonLd(healthPlanMarketingUrl, [String]),
'includesHealthPlanFormulary': convertToJsonLd(
includesHealthPlanFormulary, [SchemaHealthPlanFormulary]),
'includesHealthPlanNetwork': convertToJsonLd(
includesHealthPlanNetwork, [SchemaHealthPlanNetwork]),
'usesHealthPlanIdStandard':
convertToJsonLd(usesHealthPlanIdStandard, [String]),
});