FarmEvent constructor

FarmEvent(
  1. FarmEventType type, {
  2. required Farm farm,
  3. Room? room,
  4. Device? device,
  5. Alert? alert,
  6. Notification? notification,
  7. LogLine? log,
  8. Component? component,
  9. String? propertyId,
  10. Object? propertyValue,
  11. bool fromRetainedMessage = false,
})

Implementation

FarmEvent(
  this.type, {
  required this.farm,
  this.room,
  this.device,
  this.alert,
  this.notification,
  this.log,
  this.component,
  this.propertyId,
  this.propertyValue,
  this.fromRetainedMessage = false,
});