function navigate(routeName, params) {
  navigator.dispatch(
    NavigationActions.navigate({
      routeName,
      params,
    })
  )
}
/**
 * Call this function when you want to navigate to a specific route.
 *
 * @param routeName The name of the route to navigate to. Routes are defined in RootScreen using createStackNavigator()
 * @param params Route parameters.
 */
Call this function when you want to navigate to a specific route.
@param routeName The name of the route to navigate to. Routes are defined in RootScreen using createStackNavigator()
@param params Route parameters.
Call this function when you want to navigate to a specific route . @param routeName The name of the route to navigate to . Routes are defined in RootScreen using createStackNavigator () @param params Route parameters .
function navigate(routeName, params) {
  navigator.dispatch(
    NavigationActions.navigate({
      routeName,
      params,
    })
  )
}
function navigate ( routeName , params ) { navigator . dispatch ( NavigationActions . navigate ( { routeName , params , } ) ) }
Call this function when you want to navigate to a specific route.
Call this function when you want to navigate to a specific route .