getPostThread method

Future<Tuple2> getPostThread(
  1. String uri, {
  2. int? depth,
  3. int? parentHeight,
})

Implementation

Future<Tuple2> getPostThread(String uri,
    {int? depth, int? parentHeight}) async {
  http.Response res = await api.get("app.bsky.feed.getPostThread",
      params: {"uri": uri, "depth": depth, "parentHeight": parentHeight},
      headers: {"Authorization": "Bearer ${api.session.accessJwt}"});
  return Tuple2<int, Map<String, dynamic>>(
      res.statusCode, json.decode(res.body));
}