degreesToRadians method

double degreesToRadians(
  1. double degrees
)

Implementation

double degreesToRadians(double degrees) {
  return (degrees * pi) / 180;
}