navigate method Null safety

  1. @override
void navigate()
override

Implementation

@override
void navigate() {
  NavigateAction._navigatorKey?.currentState?.pushAndRemoveUntil(route, predicate);
}