How to bind a Vector2 constant in gdextension and expose them in gdscript?

Godot Version

v4.2.2.stable.official [15073afe3]


I have a constant in my class in gdextension as such:

class MyCustomClass : public Node2D
    GDCLASS(MyCustomClass, Node2D);

        const Vector2 MY_VECTOR = Vector2(100, 100);


how do I bind it in _bind_methods() as done for properties?

void MyCustomClass::_bind_methods()
   ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "my_variable"), "set_my_variable", "get_my_variable");

I’m trying to achieve this in such a way that they are exposed in gdscript