QueryPacketCommitmentsRequest.deserialize constructor

QueryPacketCommitmentsRequest.deserialize(
  1. List<int> bytes
)

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)));
}