Can you add some dartdoc describing when this is called - where in the app lifecycle?