toJson method
Implementation
@override
Object toJson() => {
if (tabularAnomaly case final tabularAnomaly?)
'tabularAnomaly': tabularAnomaly.toJson(),
if (modelMonitoringJob.isNotDefault)
'modelMonitoringJob': modelMonitoringJob,
if (algorithm.isNotDefault) 'algorithm': algorithm,
};