toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annotations != null) 'annotations': annotations!,
if (createTime != null) 'createTime': createTime!,
if (description != null) 'description': description!,
if (displayName != null) 'displayName': displayName!,
if (labels != null) 'labels': labels!,
if (name != null) 'name': name!,
if (primarySpec != null) 'primarySpec': primarySpec!,
if (state != null) 'state': state!,
if (updateTime != null) 'updateTime': updateTime!,
};