code: public static MultiPolygon fromPolygons(@NonNull List<Polygon> polygons,
                                            @Nullable BoundingBox bbox) {
      List<List<List<Point>>> coordinates = new ArrayList<>(polygons.size());
      for (Polygon polygon : polygons) {
        coordinates.add(polygon.coordinates());
      }
      return new MultiPolygon(TYPE, bbox, coordinates);
    }
docs: Create a new instance of this class by defining a list of {@link Polygon} objects and passing
  that list in as a parameter in this method. The Polygons should comply with the GeoJson
  specifications described in the documentation. Optionally, pass in an instance of a
  {@link BoundingBox} which better describes this MultiPolygon.
  
  @param polygons a list of Polygons which make up this MultiPolygon
  @param bbox     optionally include a bbox definition
  @return a new instance of this class defined by the values passed inside this static factory
  method
  @since 3.0.0