navigatorKey property
A navigator key lets NyRouter grab the NavigatorState from a MaterialApp or a CupertinoApp. All navigation operations (push, pop, etc) are carried out using this NavigatorState.
This is the same NavigatorState that is returned by Navigator.of(context) (when there is only a single Navigator in Widget tree, i.e. from MaterialApp or CupertinoApp).
Implementation
final GlobalKey<NavigatorState>? navigatorKey;