fromJson static method

MultiPoint fromJson(
  1. dynamic coordinates
)

Implementation

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

  return MultiPoint(points);
}