GeoJSONPoint constructor

GeoJSONPoint(
  1. List<double> coordinates
)

Constructs a GeoJSONPoint from the provided list of coordinates.

Implementation

GeoJSONPoint(this.coordinates)
    : assert(
          coordinates.length >= 2,
          'The coordinates is List<double>. '
          'There MUST be two or more elements');