toJson method
Implementation
@override
Object toJson() => {
if (name.isNotDefault) 'name': name,
'displayName': displayName,
if (metadata != null) 'metadata': metadata!.toJson(),
if (createTime != null) 'createTime': createTime!.toJson(),
if (updateTime != null) 'updateTime': updateTime!.toJson(),
if (annotationFilter.isNotDefault) 'annotationFilter': annotationFilter,
'problemType': problemType,
if (annotationSpecCount.isNotDefault)
'annotationSpecCount': annotationSpecCount,
if (etag.isNotDefault) 'etag': etag,
if (supportAutomlTraining.isNotDefault)
'supportAutomlTraining': supportAutomlTraining,
};