changeFullNavigation method

void changeFullNavigation(
  1. String newFullNavigation, {
  2. bool updateBloc = true,
})

Changes the current navigation to be equal to the newFullNavigation.

Upon failure, will set lastFailedFullNavigation to newFullNavigation

Implementation

void changeFullNavigation(String newFullNavigation,
    {bool updateBloc = true}) async {
  if (!updateBloc) {
    _changeFullNavigation(newFullNavigation);
    return;
  }
  updateBlocOnChange(
      change: () => _changeFullNavigation(newFullNavigation),
      tracker: () => [fullNavigation, lastFailedFullNavigation]);
}