degToRadian function Null safety

double degToRadian(
  1. double deg
)

Converts degree to radian

Implementation

double degToRadian(final double deg) => deg * (PI / 180.0);