FarmEvent class

Constructors

FarmEvent(FarmEventType type, {required Farm farm, Room? room, Device? device, Alert? alert, Notification? notification, LogLine? log, Component? component, String? propertyId, Object? propertyValue, bool fromRetainedMessage = false})

Properties

alert Alert?
getter/setter pair
component Component?
getter/setter pair
device Device?
getter/setter pair
farm Farm
getter/setter pair
fromRetainedMessage bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
log LogLine?
getter/setter pair
notification Notification?
getter/setter pair
propertyId String?
getter/setter pair
propertyValue Object?
getter/setter pair
room Room?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type FarmEventType
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited