didPop method
function for checking and handling routes Pop
behavior and stop playing audio.
Implementation
@override
void didPop(Route<dynamic> route, Route<dynamic>? previousRoute) {
if (previousRoute is PageRoute<dynamic>) {
_handleRouteChanged(previousRoute);
}
}