Component class abstract

Implementers

Constructors

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

Properties

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

Methods

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

Operators

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