getProfile method
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));
}