core.Map<core.String, core.dynamic> toJson() => { if (unifiedWorkerResponse != null) 'unifiedWorkerResponse': unifiedWorkerResponse!, if (workItems != null) 'workItems': workItems!, };