createPathThroughWaypoints method
Creates a path through the given waypoints.
Deprecated: Use createSegmentsThroughWaypoints instead. This method is kept for backward compatibility.
Implementation
Path createPathThroughWaypoints(
List<Offset> waypoints,
ConnectionPathParameters params,
) {
final result = createSegmentsThroughWaypoints(waypoints, params);
return buildPath(result.start, result.segments);
}