removeObserver method
Implementation
void removeObserver(
String name, RouteLifecycleStateChanged routeLifecycleStateChanged) {
if (!routeLifecycleDidChanges
.containsKey(getKey(name, routeLifecycleStateChanged))) return;
routeLifecycleDidChanges.remove(getKey(name, routeLifecycleStateChanged));
}