differenceDegrees method Null safety
Distance of two points on a circle, represented using degrees.
Implementation
static double differenceDegrees(double a, double b) {
return 180.0 - ((a - b).abs() - 180.0).abs();
}
Distance of two points on a circle, represented using degrees.
static double differenceDegrees(double a, double b) {
return 180.0 - ((a - b).abs() - 180.0).abs();
}