degreeToRadian method

double degreeToRadian(
  1. double degree
)

Implementation

double degreeToRadian(double degree) {
  return degree * math.pi / 180;
}