destruct method
Destructs the Squid Client. Unsubscribes from all ongoing queries or requests, and clears the local data. After invoking this method, the Squid client will not be usable.
Implementation
Future<void> destruct() async {
if (_destructManager.isDestructing) return;
return _destructManager
.destruct()
.whenComplete(() => _instances.remove(_options));
}