navigator property Null safety

NavigatorState? navigator

Implementation

static NavigatorState? get navigator {
  assert(RRouter.myRouter.observer.navigator != null,
      'please add the observer into app');
  return myRouter.observer.navigator;
}