toJsonLd method
Serialize SchemaGovernmentService to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'GovernmentService',
'jurisdiction':
convertToJsonLd(jurisdiction, [SchemaAdministrativeArea, String]),
'serviceOperator':
convertToJsonLd(serviceOperator, [SchemaOrganization]),
});