GyroscopeEvent class Null safety

Discrete reading from a gyroscope. Gyroscopes measure the rate or rotation of the device in 3D space.

Constructors

GyroscopeEvent(double x, double y, double z)
Constructs an instance with the given x, y, and z values.

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
Rate of rotation around the x axis measured in rad/s.
final
y double
Rate of rotation around the y axis measured in rad/s.
final
z double
Rate of rotation around the z axis measured in rad/s.
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