fromJson static method

LineString fromJson(
  1. dynamic coordinates
)

Implementation

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

  return LineString(points);
}