angleToRadians method

double angleToRadians(
  1. num angle
)

Converts angle in degrees to arcs.

Implementation

double angleToRadians(num angle) => (math.pi / 180) * angle;