ABCIQueryRequest.deserialize constructor

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

Implementation

factory ABCIQueryRequest.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return ABCIQueryRequest(
    data: decode.getBytes<List<int>?>(1),
    path: decode.getString<String?>(2),
    height: decode.getBigInt<BigInt?>(3),
    prove: decode.getBool<bool?>(4),
  );
}