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