reportRouteDispose method

void reportRouteDispose(
  1. T disposed
)

Reports the disposal of a route.

This method is called when a route is disposed, and it cleans up associated instances and dependencies.

Implementation

void reportRouteDispose(T disposed) {
  if (Get.smartManagement != SmartManagement.onlyBuilder) {
    _removeDependencyByRoute(disposed);
  }
}