close method
void
close()
Implementation
void close() {
_deviceState.clear();
if (_clientNodes != null && _clientNodes.isNotEmpty) {
_clientNodes.forEach((key, value) {
value.close();
});
_clientNodes.clear();
}
_deviceNodes.clear();
}