radiansLong function

double radiansLong(
  1. dynamic degrees
)

Implementation

double radiansLong(degrees) {
  if (degrees < -180 || degrees > 180) {
    throw new RangeError('Longitude degrees must be in range [-180; 180].');
  }
  return degreesToRadians(degrees);
}