Direction constructor

const Direction({
  1. double roll = 0.0,
  2. double pitch = 0.0,
  3. double heading = 0.0,
})

Initializes the Direction with roll, pitch, and heading values.

Args: roll (double): The roll angle of the Frame in degrees. pitch (double): The pitch angle of the Frame in degrees. heading (double): The heading angle of the Frame in degrees.

Implementation

const Direction({
  this.roll = 0.0,
  this.pitch = 0.0,
  this.heading = 0.0,
});