deleteUser method

Future<bool> deleteUser()

This is used by an authenticated user to delete him/herself

Implementation

Future<bool> deleteUser() async {
  _signInUserSessionCheck();

  final paramsReq = {
    'AccessToken': _signInUserSession!.getAccessToken().getJwtToken(),
  };
  await client!.request('DeleteUser', paramsReq);
  await clearCachedTokens();

  return true;
}