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,
);