radiansLat function

double radiansLat(
  1. dynamic degrees
)

Implementation

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