SendWorkerMessagesResponse.fromJson constructor

SendWorkerMessagesResponse.fromJson(
  1. Map _json
)

Implementation

SendWorkerMessagesResponse.fromJson(core.Map _json)
    : this(
        workerMessageResponses: _json.containsKey('workerMessageResponses')
            ? (_json['workerMessageResponses'] as core.List)
                .map<WorkerMessageResponse>((value) =>
                    WorkerMessageResponse.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );