QueryOutputProposalResponse.deserialize constructor

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

Implementation

factory QueryOutputProposalResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryOutputProposalResponse(
    bridgeId: decode.getBigInt<BigInt?>(1),
    outputIndex: decode.getBigInt<BigInt?>(2),
    outputProposal: decode.messageTo<opinit_ophost_v1_types.Output?>(
      3,
      (b) => opinit_ophost_v1_types.Output.deserialize(b),
    ),
  );
}