GeoJSONMultiLineString constructor

GeoJSONMultiLineString(
  1. List<List<List<double>>> coordinates
)

Creates a new GeoJSONMultiLineString object with the given coordinates.

The coordinates must represent one or more valid LineString coordinates.

Implementation

GeoJSONMultiLineString(this.coordinates)
    : assert(coordinates.isNotEmpty,
          'The coordinates MUST be one or more elements');