toRadians static method

double toRadians(
  1. double value
)

Converts the supplied Degrees value to Radians

Implementation

static double toRadians(double value) => value * math.pi / 180.0;