Help with VectorPath

Hi I was wondering how do I make it so this uses VectorPath instead of Construct, thx.

(Vector2)path.vectorPath direction = FleePath.Construct(transform.position, playerTransform.position, 1);