profile method

Future<void> profile()

Implementation

Future<void> profile() async {
  http.Response res = await api.get("app.bsky.actor.getProfile",
      params: {"actor": api.session.did},
      headers: {"Authorization": "Bearer ${api.session.accessJwt}"});
  if (res.statusCode == 200) {
    api.session.actor = ProfileViewDetailed(json.decode(res.body));
  }
}