docs: @NonNull
    public static LineString lineSliceAlong(@NonNull Feature line,
                                            @FloatRange(from = 0) double startDist,
                                            @FloatRange(from = 0) double stopDist,
                                            @NonNull @TurfConstants.TurfUnitCriteria String units) {
      if (line.geometry() == null) {
        throw new NullPointerException("Feature.geometry() == null");
      }
      if (!line.geometry().type().equals("LineString")) {
        throw new TurfException("input must be a LineString Feature or Geometry");
      }
  
      return lineSliceAlong((LineString)line.geometry(), startDist, stopDist, units);
    }