init static method
Implementation
static void init(GlobalKey<NavigatorState> key) {
if (_navigatorKey != null) {
throw StateError('ComContext has already been initialized.');
}
_navigatorKey = key;
}
static void init(GlobalKey<NavigatorState> key) {
if (_navigatorKey != null) {
throw StateError('ComContext has already been initialized.');
}
_navigatorKey = key;
}