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