QueryTokenPriceRequest.deserialize constructor

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

Implementation

factory QueryTokenPriceRequest.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryTokenPriceRequest(
    baseDenom: decode.getString<String?>(1),
    quoteDenom: decode.getString<String?>(2),
    poolId: decode.getBigInt<BigInt?>(3),
  );
}