GeoPoint constructor

GeoPoint({
  1. required num latitude,
  2. required num longitude,
})

Creates a new immutable GeoPoint object with the provided latitude and longitude values. @param latitude The latitude as number between -90 and 90. @param longitude The longitude as number between -180 and 180.

Implementation

external factory GeoPoint({required num latitude, required num longitude});