ReportWorkItemStatusRequest.fromJson constructor
ReportWorkItemStatusRequest.fromJson(
- Map json_
Implementation
ReportWorkItemStatusRequest.fromJson(core.Map json_)
: this(
currentWorkerTime: json_.containsKey('currentWorkerTime')
? json_['currentWorkerTime'] as core.String
: null,
location: json_.containsKey('location')
? json_['location'] as core.String
: null,
unifiedWorkerRequest: json_.containsKey('unifiedWorkerRequest')
? json_['unifiedWorkerRequest']
as core.Map<core.String, core.dynamic>
: null,
workItemStatuses: json_.containsKey('workItemStatuses')
? (json_['workItemStatuses'] as core.List)
.map((value) => WorkItemStatus.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
workerId: json_.containsKey('workerId')
? json_['workerId'] as core.String
: null,
);