How to add My Appointments as a dashboard widget


Appointment plugin modify the user page to add a My appointments. It s very useful and would like to add this rather in the dashboard as a widget.

In which file is the function for this?
And how I could add this as a widget dashboard? Just to add the code in a function to create widget?