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,
        'password': password,
        'token': token,
      },
    );