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((value) => WorkerMessage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);