angle method
Implementation
double angle() {
// computes the angle in radians with respect to the positive x-axis
final angle = math.atan2(-y, -x) + math.pi;
return angle;
}
double angle() {
// computes the angle in radians with respect to the positive x-axis
final angle = math.atan2(-y, -x) + math.pi;
return angle;
}