toJsonLd method
Serialize SchemaWebAPI to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'WebAPI',
'documentation': convertToJsonLd(
documentation, (v) => v is SchemaCreativeWork || v is String),
});