angleToSigned method
Returns the signed angle between this and other in radians.
Implementation
double angleToSigned(Vector2 other) {
if (this == other) {
return 0;
}
final sine = cross(other);
final cosine = dot(other);
return math.atan2(sine, cosine);
}