getSession method

Future<XRPCResponse<CurrentSession>> getSession({
  1. Map<String, String>? headers,
})

Implementation

Future<core.XRPCResponse<CurrentSession>> getSession({
  Map<String, String>? headers,
}) async =>
    await _ctx.get(
      ns.comAtprotoServerGetSession,
      headers: headers,
      to: CurrentSession.fromJson,
    );