toJsonLd method
Serialize SchemaInstantaneousEvent to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'InstantaneousEvent',
'data': convertToJsonLd(data, [SchemaThing]),
'source': convertToJsonLd(source, [SchemaThing]),
'timestamp': convertToJsonLd(timestamp, [String]),
});