deleteSession method

Future<Tuple2> deleteSession()

Implementation

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