SendWorkerMessagesRequest.fromJson constructor
SendWorkerMessagesRequest.fromJson(
- Map _json
Implementation
SendWorkerMessagesRequest.fromJson(core.Map _json)
: this(
location: _json.containsKey('location')
? _json['location'] as core.String
: null,
workerMessages: _json.containsKey('workerMessages')
? (_json['workerMessages'] as core.List)
.map<WorkerMessage>((value) => WorkerMessage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);