Device class

Constructors

Device({required String id, required Farm farm})

Properties

components List<Component>
getter/setter pair
events Stream<FarmEvent>
no setter
farm Farm
getter/setter pair
firmware DeviceFirmwareInfo
final
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
isDeactivated bool
getter/setter pair
isLoaded bool
no setter
isOnline bool
no setter
mqtt DeviceMQTTInfo
final
name String
getter/setter pair
room Room?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings Map<String, dynamic>
getter/setter pair
status DeviceStatus
getter/setter pair
uptime int
getter/setter pair
wifi DeviceWifiInfo
final

Methods

forget() → void
moveTo(String roomId) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reboot() → void
sendSettings(Map<String, dynamic> settings) → void
toString() String
A string representation of this object.
inherited

Operators

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