radiansToDegrees static method

double radiansToDegrees(
  1. double radians
)

Convert radians to degrees.

Implementation

static double radiansToDegrees(double radians) {
  return (radians * 180) / math.pi;
}