toJsonLd method
Serialize SchemaMathSolver to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'MathSolver',
'mathExpression': convertToJsonLd(
mathExpression, (v) => v is SchemaSolveMathAction || v is String),
});