How do I get the Vector2 from an input action in code? (New Input System)

I’m trying to make a dash ability that dashes in the direction of the mouse or in the direction that the controller knob is being held. I set up the input, and set the action type to value with control type as Vector2, I also set up the logic for how my dash will work. The logic should work fine, but I don’t actually know how to get the Vector2 from the input to use in the dash. Here’s the code, if you can help me that would be awesome. Thanks!

public void Dash(InputAction.CallbackContext context)
    {

        //dash when dash button is pressed

        if (context.performed && canDash == true)
        {
            //stuff here to actually dash
            canDash = false;
            StartCoroutine(DashTime());
        }
    }

    public void DashAim(???)
    {
        //get vector2 from input (if that's how it works)
    }

    IEnumerator DashTime()
    {
        yield return new WaitForSeconds(3f);

        canDash = true;
    }

}
    public void DashAim ( InputAction.CallbackContext ctx )
    {
        Vector2 vec = ctx.ReadValue<Vector2>();
    }

Longer answer:

    public class DasherThing : MonoBehaviour
    {
    	Controls _controls;
    	float _lastDashTime = float.MinValue;
    	float _dashDelay = 3f;
    	public bool CanDash => Time.time > _lastDashTime+_dashDelay;
    	void Awake ()
    	{
    		_controls = new Controls();
    		_controls.player.Enable();
    
    		_controls.player.dash.performed += Dash;
    	}
    	void OnDestroy ()
    	{
    		_controls.Dispose();
    	}
    	public void Dash ( InputAction.CallbackContext ctx )
    	{
    		// dash when dash button is pressed
    		if( CanDash==true )
    		{
    			// update dash time:
    			_lastDashTime = Time.time;
    
    			// read inputs:
    			Vector2 aim = _controls.player.aim.ReadValue<Vector2>();
    
    			// execute a dash:
    			
    		}
    		else Debug.Log("dash is not ready, communicate that with sound here");
    	}
    }

Controls is a placeholder name for c# class name generated from your input action assets

I still need help with this, if anyone can help me please check this out