addKey method

Implementation

GlobalKey<NavigatorState>? addKey(GlobalKey<NavigatorState> newKey) {
  rootDelegate.navigatorKey = newKey;
  return key;
}