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