points property
Gets or sets the List of Points in the route. All of the Points must be Point#isReal -- no NaN or infinite values -- and all of the points are in document coordinates. Although this list may be replaced by setting this property, one must not modify the contents of the List directly.
The setter also accepts an Array of alternating X,Y point values 1, 2, 3, 4, 5, 6
,
or an Array of Objects each of which has (lowercase) 'x' and 'y' properties that are numbers
{"x":1,"y":2}, {"x":3,"y":4}, {"x":5,"y":6}
.
Ownership of the List and all of its Points that is provided to the setter is transferred to this Link.
Implementation
_i3.List<_i3.Point> get points => _i4.getProperty(
this,
'points',
);