refreshSession method

Future<Tuple2> refreshSession()

Implementation

Future<Tuple2> refreshSession() async {
  http.Response res = await api.post("com.atproto.server.refreshSession",
      headers: {"Authorization": "Bearer ${api.session.refreshJwt}"});
  return Tuple2<int, Map<String, dynamic>>(
      res.statusCode, json.decode(res.body));
}