toJson method

  1. @override
Object toJson()
override

Implementation

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