Sensors class Null safety
The Sensors implementation.
- Inheritance
-
- Object
- PlatformInterface
- SensorsPlatform
- Sensors
Constructors
Properties
-
accelerometerEvents
→ Stream<
AccelerometerEvent> -
A broadcast stream of events from the device accelerometer.
read-onlyoverride
-
gyroscopeEvents
→ Stream<
GyroscopeEvent> -
A broadcast stream of events from the device gyroscope.
read-onlyoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
magnetometerEvents
→ Stream<
MagnetometerEvent> -
A broadcast stream of events from the device magnetometer.
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
userAccelerometerEvents
→ Stream<
UserAccelerometerEvent> -
Events from the device accelerometer with gravity removed.
read-onlyoverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited