code: public static LineString fromLngLats(@NonNull List<Point> points) {
      return new LineString(TYPE, null, points);
    }
docs: Create a new instance of this class by defining a list of {@link Point}s which follow the
  correct specifications described in the Point documentation. Note that there should not be any
  duplicate points inside the list and the points combined should create a LineString with a
  distance greater than 0.
  <p>
  Note that if less than 2 points are passed in, a runtime exception will occur.
  </p>
  
  @param points a list of {@link Point}s which make up the LineString geometry
  @return a new instance of this class defined by the values passed inside this static factory
  method
  @since 3.0.0