fromJson static method
Implementation
static LineString fromJson(coordinates) {
List<Point> points = [];
coordinates.forEach((point) {
points.add(Point.fromJson(point));
});
return LineString(points);
}
static LineString fromJson(coordinates) {
List<Point> points = [];
coordinates.forEach((point) {
points.add(Point.fromJson(point));
});
return LineString(points);
}