Point.fromLatLong constructor

Point.fromLatLong(
  1. double latitude,
  2. double longitude
)

Creates a Point from a Lat/Long pair.

Example:

Point.fromLatLong(1, 2);

Implementation

factory Point.fromLatLong(double latitude, double longitude) {
  return Point(Coordinate(latitude, longitude));
}