toRadians static method

num toRadians(
  1. num degrees
)

Implementation

static num toRadians(num degrees) => degrees / 180.0 * pi;