LineString constructor

LineString({
  1. List<Point>? points,
  2. SpatialReferenceSystem? srs,
})

Implementation

LineString({List<Point>? points, SpatialReferenceSystem? srs})
    : super(srs: srs) {
  this.points = points != null ? points : <Point>[];
}