Rotation
Rate of rotation of the device around the x, y and z axes. Typically captured by a gyroscope.
Data type CarpDataTypes.ROTATION.
- Inheritance
-
- Object
- Serializable
- Data
- SensorData
- Rotation
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
Rotation.fromJson
Rotation
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
x
getter/setter pair
y
getter/setter pair
z
getter/setter pair
Methods
toJson
Return a JSON encoding of this object.