degToRad static method

dynamic degToRad(
  1. double d
)

Implementation

static degToRad(double d) {
  return d * math.pi / 180;
}