QueryViewJSONBatchRequest.deserialize constructor
Implementation
factory QueryViewJSONBatchRequest.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return QueryViewJSONBatchRequest(
requests:
decode
.getListOfBytes(1)
.map((b) => QueryViewJSONRequest.deserialize(b))
.toList(),
);
}