deleteCurrentUser method

Future deleteCurrentUser(
  1. bool hard
)

Request to delete account of the current user

Implementation

Future deleteCurrentUser(bool hard) async {
  var ctrl = _tinodeService.deleteCurrentUser(hard);
  _authService.setUserId(null);
  return ctrl;
}