status property

DeviceStatus get status
inherited

The runtime status of this device.

Implementation

DeviceStatus get status => _status;
set status (DeviceStatus newStatus)
inherited

Change the runtime status of this device.

Implementation

set status(DeviceStatus newStatus) {
  debug('$runtimeType - setting device status: ${newStatus.name}');
  _status = newStatus;
  _eventController.add(_status);
}