GeoPoint constructor

GeoPoint(
  1. num latitude,
  2. num longitude
)

Creates a new immutable GeoPoint object with the provided latitude and longitude values.

latitude values are in the range of -90 to 90. longitude values are in the range of -180 to 180.

Implementation

external factory GeoPoint(num latitude, num longitude);