toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (allocationPolicy != null) 'allocationPolicy': allocationPolicy!,
if (createTime != null) 'createTime': createTime!,
if (labels != null) 'labels': labels!,
if (logsPolicy != null) 'logsPolicy': logsPolicy!,
if (name != null) 'name': name!,
if (notifications != null) 'notifications': notifications!,
if (priority != null) 'priority': priority!,
if (status != null) 'status': status!,
if (taskGroups != null) 'taskGroups': taskGroups!,
if (uid != null) 'uid': uid!,
if (updateTime != null) 'updateTime': updateTime!,
};