QueryVoteRequest.deserialize constructor

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

Implementation

factory QueryVoteRequest.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryVoteRequest(
    proposalId: decode.getBigInt<BigInt?>(1),
    voter: decode.getString<String?>(2),
  );
}