pointSeries method
Parses a series of points
(an iterable of iterables of nums).
Throws FormatException if cannot create a series or points on it.
Implementation
PointSeries<PointType> pointSeries(Iterable<dynamic> points) =>
PointSeries<PointType>.from(
points.map<PointType>((dynamic coords) => point(coords as Iterable)),
);