toJsonLd method
Serialize SchemaAlignmentObject to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'AlignmentObject',
'alignmentType': convertToJsonLd(alignmentType, [String]),
'educationalFramework': convertToJsonLd(educationalFramework, [String]),
'targetDescription': convertToJsonLd(targetDescription, [String]),
'targetName': convertToJsonLd(targetName, [String]),
'targetUrl': convertToJsonLd(targetUrl, [String]),
});