QueryOraclePriceResponse.deserialize constructor

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

Implementation

factory QueryOraclePriceResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryOraclePriceResponse(
    pricePairState: decode.messageTo<PricePairState?>(
      1,
      (b) => PricePairState.deserialize(b),
    ),
  );
}