void extendWithPath(Path path, Offset offset)

Adds the given path to this path by extending the current segment of this path with the the first segment of the given path.

Source

void extendWithPath(Path path, Offset offset) => _extendWithPath(path, offset.dx, offset.dy);