MsgSubmitQueryResponse.deserialize constructor
MsgSubmitQueryResponse.deserialize(
- List<int> bytes
)
Implementation
factory MsgSubmitQueryResponse.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return MsgSubmitQueryResponse(
chainId: decode.getString<String?>(1),
queryId: decode.getString<String?>(2),
result: decode.getBytes<List<int>?>(3),
proofOps: decode.messageTo<tendermint_crypto_proof.ProofOps?>(
4,
(b) => tendermint_crypto_proof.ProofOps.deserialize(b),
),
height: decode.getBigInt<BigInt?>(5),
fromAddress: decode.getString<String?>(6),
);
}