Interface returns only the a base class, so if you have variables in your widget blueprint you have to rely on casting.
In this case you have to cast to your widget blueprint, or you have to add this variable to C++
If you don’t want to modify C++, casting should be fine I guess.