isBetween static method
Determines if an angle is between two other angles, rotating clockwise.
Implementation
static bool isBetween(
{required double angle, required double a, required double b}) {
if (a < b) {
return a <= angle && angle <= b;
}
return a <= angle || angle <= b;
}