CoordinateList.fromListAllowRepeat constructor
CoordinateList.fromListAllowRepeat(
- List<
Coordinate> coord, - bool allowRepeated
Constructs a new list from an array of Coordinates, allowing caller to specify if repeated points are to be removed.
@param coord the array of coordinates to load into the list
@param allowRepeated if false
, repeated points are removed
Implementation
CoordinateList.fromListAllowRepeat(
List<Coordinate> coord, bool allowRepeated) {
_backingList = List.from(coord);
addList(coord, allowRepeated);
}