LatLong constructor

const LatLong(
  1. double latitude,
  2. double longitude
)

Constructs a new LatLong with the given latitude and longitude values, measured in degrees.

@param latitude the latitude value in degrees. @param longitude the longitude value in degrees. @throws IllegalArgumentException if the latitude or longitude value is invalid.

Implementation

const LatLong(this.latitude, this.longitude);