toJsonLd method
Serialize SchemaError to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'Error',
'errorCode': convertToJsonLd(errorCode,
[SchemaDefinedTerm, SchemaStatusEnumeration, String, int]),
});