getProfile method

Future<Tuple2> getProfile(
  1. String actor
)

Implementation

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