degreesToRadian method

double degreesToRadian(
  1. double degrees
)

Implementation

double degreesToRadian(double degrees) => degrees * (pi / 180);