deleteAccount method

Future<XRPCResponse<EmptyData>> deleteAccount({
  1. required String password,
  2. required String token,
})

Implementation

Future<core.XRPCResponse<core.EmptyData>> deleteAccount({
  required String password,
  required String token,
}) async =>
    await _ctx.post(
      ns.comAtprotoServerDeleteAccount,
      body: {
        'did': _ctx.session?.did ?? _ctx.oAuthSession?.sub,
        'password': password,
        'token': token,
      },
    );