deleteCurrentUser method

Future deleteCurrentUser(
  1. bool hard
)

Request to delete account of the current user

Implementation

Future deleteCurrentUser(bool hard) {
  var packet = _packetGenerator.generate(packet_types.Del, null);
  var data = packet.data as DelPacketData;
  data.hard = hard;
  data.what = 'user';
  packet.data = data;
  return _send(packet);
}