UserAccelerometerEvent class Null safety
Like AccelerometerEvent, this is a discrete reading from an accelerometer and measures the velocity of the device. However, unlike AccelerometerEvent, this event does not include the effects of gravity.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- x → double
-
Acceleration force along the x axis (excluding gravity) measured in m/s^2.
final
- y → double
-
Acceleration force along the y axis (excluding gravity) measured in m/s^2.
final
- z → double
-
Acceleration force along the z axis (excluding gravity) measured in m/s^2.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited