deleteTopic method

Future<CtrlMessage> deleteTopic(
  1. bool hard
)

Delete topic. Requires Owner permission. Wrapper for Tinode.delTopic

Implementation

Future<CtrlMessage> deleteTopic(bool hard) async {
  var ctrl = await _tinodeService.deleteTopic(name ?? '', hard);
  resetSubscription();
  _gone();
  return CtrlMessage.fromMessage(ctrl);
}