LightSensor class

Inheritance

Constructors

LightSensor({required Room room})

Properties

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