unregisterDevice method
Remove the current device registration for the device in this deployment.
Implementation
void unregisterDevice(DeviceConfiguration device) {
_deployedDevices.remove(device.roleName);
_registeredDeviceConfigurations.remove(device.roleName);
_registeredDevices.remove(device.roleName);
}