startupOnReset method

  1. @override
void startupOnReset()
override

Called when StartupSequence.resetMachine is invoked during the processing of StartupSequence.

Implementation

@override
void startupOnReset() {
  final tFactory = delegate?._factoryTypeMap.values
      .whereType<SplashPageFactory>()
      .firstOrNull;

  tFactory?.goWithResult(null, StandardPageNavigationMode.removeAll);
  delegate?._initialRouteProcessed = false;
}