setKey static method

void setKey(
  1. GlobalKey<NavigatorState> key
)

Set the navigatorKey so the monitor can navigate to the Monitor Page

Implementation

static void setKey(GlobalKey<NavigatorState> key) {
  navigatorKey = key;
}