radians method

num radians(
  1. num angle
)

Implementation

num radians(num angle) {
  return (angle / 180) * math.pi;
}