QueryOraclePriceHashResponse.deserialize constructor

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

Implementation

factory QueryOraclePriceHashResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryOraclePriceHashResponse(
    oraclePriceHash: decode
        .messageTo<opinit_ophost_v1_types.OraclePriceHash?>(
          1,
          (b) => opinit_ophost_v1_types.OraclePriceHash.deserialize(b),
        ),
  );
}