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