status property

DeviceStatus status

The runtime status of this device.

Implementation

DeviceStatus get status => _status;
void status=(DeviceStatus newStatus)

Change the runtime status of this device.

Implementation

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