toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (condition != null) 'condition': condition!,
if (description != null) 'description': description!,
if (displayName != null) 'displayName': displayName!,
if (taskConfigId != null) 'taskConfigId': taskConfigId!,
if (taskId != null) 'taskId': taskId!,
};