docs: public static Polygon fromOuterInner(@NonNull LineString outer, @Nullable LineString... inner) {
      isLinearRing(outer);
      List<List<Point>> coordinates = new ArrayList<>();
      coordinates.add(outer.coordinates());
      // If inner rings are set to null, return early.
      if (inner == null) {
        return new Polygon(TYPE, null, coordinates);
      }
      for (LineString lineString : inner) {
        isLinearRing(lineString);
        coordinates.add(lineString.coordinates());
      }
      return new Polygon(TYPE, null, coordinates);
    }