deleteTopic method
Delete the topic all together. Requires Owner permission
Implementation
Future deleteTopic(String topicName, bool hard) async {
var packet = _packetGenerator.generate(packet_types.Del, topicName);
var data = packet.data as DelPacketData;
data.what = 'topic';
data.hard = hard;
packet.data = data;
var ctrl = await _send(packet);
_cacheManager.delete('topic', topicName);
return ctrl;
}