toJsonLd method
Serialize SchemaHowToTip to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'HowToTip',
'item': convertToJsonLd(item, [SchemaThing]),
'nextItem': convertToJsonLd(nextItem, [SchemaListItem]),
'previousItem': convertToJsonLd(previousItem, [SchemaListItem]),
});