toJson method
Implementation
@override
Object toJson() => {
if (name.isNotDefault) 'name': name,
'createTime': ?createTime?.toJson(),
'updateTime': ?updateTime?.toJson(),
if (etag.isNotDefault) 'etag': etag,
if (labels.isNotDefault) 'labels': labels,
if (description.isNotDefault) 'description': description,
'scheduleConfig': ?scheduleConfig?.toJson(),
'featureSelectionConfig': ?featureSelectionConfig?.toJson(),
};