ReportWorkItemStatusResponse.fromJson constructor

ReportWorkItemStatusResponse.fromJson(
  1. Map _json
)

Implementation

ReportWorkItemStatusResponse.fromJson(core.Map _json)
    : this(
        unifiedWorkerResponse: _json.containsKey('unifiedWorkerResponse')
            ? _json['unifiedWorkerResponse']
                as core.Map<core.String, core.dynamic>
            : null,
        workItemServiceStates: _json.containsKey('workItemServiceStates')
            ? (_json['workItemServiceStates'] as core.List)
                .map((value) => WorkItemServiceState.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );