Sensor class abstract

Inheritance
Implementers

Constructors

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

Properties

device Device?
getter/setter pairinherited
events Stream<FarmEvent>
no setterinherited
goodLowerBound num?
getter/setter pair
goodUpperBound num?
getter/setter pair
hasDevice bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
isGoodMeasurement bool
no setter
isOnline bool
no setterinherited
measurement num?
no setter
measurementId String
no setter
measurementName String
no setter
measurementProperty String
no setter
measurementUnit String
no setter
name String
no setterinherited
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