toJson method
Implementation
@override
Object toJson() => {
if (name.isNotDefault) 'name': name,
'createTime': ?createTime?.toJson(),
'finalStatus': ?finalStatus?.toJson(),
'jobSummary': ?jobSummary?.toJson(),
if (labels.isNotDefault) 'labels': labels,
if (description.isNotDefault) 'description': description,
if (driftBaseFeatureMonitorJobId.isNotDefault)
'driftBaseFeatureMonitorJobId': driftBaseFeatureMonitorJobId.toString(),
'driftBaseSnapshotTime': ?driftBaseSnapshotTime?.toJson(),
'featureSelectionConfig': ?featureSelectionConfig?.toJson(),
if (triggerType.isNotDefault) 'triggerType': triggerType.toJson(),
};