code: public static LineString fromPolyline(@NonNull String polyline, int precision) {
      return LineString.fromLngLats(PolylineUtils.decode(polyline, precision), null);
    }
docs: Create a new instance of this class by convert a polyline string into a lineString. This is
  handy when an API provides you with an encoded string representing the line geometry and you'd
  like to convert it to a useful LineString object. Note that the precision that the string
  geometry was encoded with needs to be known and passed into this method using the precision
  parameter.
  
  @param polyline  encoded string geometry to decode into a new LineString instance
  @param precision The encoded precision which must match the same precision used when the string
  was first encoded
  @return a new instance of this class defined by the values passed inside this static factory
  method
  @since 1.0.0