toJsonLd method
Serialize SchemaFinancialProduct to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'FinancialProduct',
'annualPercentageRate': convertToJsonLd(
annualPercentageRate, [SchemaQuantitativeValue, num]),
'feesAndCommissionsSpecification':
convertToJsonLd(feesAndCommissionsSpecification, [String]),
'interestRate':
convertToJsonLd(interestRate, [SchemaQuantitativeValue, num]),
});