EnvironmentSensors class

Constructors

EnvironmentSensors()

Properties

hashCode int
The hash code for this object.
no setterinherited
humidity Stream<double>
Gets the relative humidity reading from device sensor, if present
no setter
light Stream<double>
Gets the ambient light reading from device sensor, if present
no setter
pressure Stream<double>
Gets the pressure reading from device sensor, if present
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temperature Stream<double>
Gets the ambient temperature reading from device sensor, if present
no setter

Methods

getSensorAvailable(SensorType sensorType) Future<bool>
Check for the availability of device sensor by sensor type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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