LatLong constructor

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

Creates a new LatLong with the specified coordinates in decimal degrees.

latitude The latitude value in degrees (-90.0 to +90.0) longitude The longitude value in degrees (-180.0 to +180.0)

Note: Coordinate validation is currently disabled but may be re-enabled

Implementation

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