RotationEvent class

An event that reports the device's rotation relative to some point.

Constructors

RotationEvent(double x, double y, double z, double w, double accuracy)

Properties

accuracy double
Estimated heading accuracy (radians)
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
w double
Rotation around the vector (cos(θ/2))
final
x double
Rotation vector component along the x axis (x * sin(θ/2)).
final
y double
Rotation vector component along the y axis (y * sin(θ/2)).
final
z double
Rotation vector component along the z axis (z * sin(θ/2)).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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