GravityData class

A structured immutable data packet encapsulating 3D spatial motion vectors.

Serves as the canonical format for interpreting raw accelerometer voltages, mapping generic data arrays onto accessible cartesian axial representations.

Constructors

GravityData({required double x, required double y, required double z})
Instantiates an immutable capsule capturing real-time hardware forces.

Properties

hashCode int
The hash code for this object.
no setterinherited
magnitude double
Real-time, computed aggregate vector intensity (overall force scalar).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
Evaluated physical force along lateral horizontal dimension (m/s²).
final
y double
Evaluated physical force along longitudinal vertical dimension (m/s²).
final
z double
Evaluated physical force perpendicular to hardware display plane (m/s²).
final

Methods

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