detachPlugin method
Implementation
Future<void> detachPlugin(int? handleId) {
WsDetach packet = WsDetach();
packet.messageType = Type.detach;
packet.handleId = handleId;
Completer completer = Completer();
_socketConnection.createCollectorAndSend(packet, Type.success, completer);
return completer.future;
}