toJson method
Implementation
@override
Object toJson() => {
if (tabularObjective case final tabularObjective?)
'tabularObjective': tabularObjective.toJson(),
if (explanationSpec case final explanationSpec?)
'explanationSpec': explanationSpec.toJson(),
if (baselineDataset case final baselineDataset?)
'baselineDataset': baselineDataset.toJson(),
if (targetDataset case final targetDataset?)
'targetDataset': targetDataset.toJson(),
};