Relay class abstract

Inheritance
Implementers

Constructors

Relay({required Room room, Map<String, Type>? schema})

Properties

automation bool?
getter/setter pair
cooldownDuration int?
getter/setter pair
device Device?
getter/setter pairinherited
events Stream<FarmEvent>
no setterinherited
hasDevice bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
isOnline bool
no setterinherited
lastOff int?
no setter
lastOn int?
no setter
name String
no setterinherited
power bool?
getter/setter pair
room Room
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

consumeControl(String name, String endpoint) → void
inherited
consumeState(String propertyId, String value) Object?
inherited
getProperty(String propertyId) Object?
inherited
hasProperty(String propertyId) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setControl(String prop, Object? value) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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