GetBlockWithTxsRequest.deserialize constructor
Implementation
factory GetBlockWithTxsRequest.deserialize(List<int> bytes) {
final decode = CosmosProtocolBuffer.decode(bytes);
return GetBlockWithTxsRequest(
height: decode.getField(1),
pagination: decode
.getResult(2)
?.to<PageRequest, List<int>>((e) => PageRequest.deserialize(e)));
}