toJson method

  1. @override
Object toJson()
override

Implementation

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