I am stuck to use of MapView.When under WebAppBuilder Widget. I am attaching JS API link
Custom Recenter Widget - 4.7
Any guidance is greatly appreciated.
Unless you are building a widget exclusively for 3D then you should not be using JS API 4.x documentation.