toJsonLd method
Serialize SchemaReplaceAction to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'ReplaceAction',
'replacee': convertToJsonLd(replacee, [SchemaThing]),
'replacer': convertToJsonLd(replacer, [SchemaThing]),
});