registerGlobalContextManager function
- @Deprecated('This method will be removed in 0.19.0 without replacement.')
void
registerGlobalContextManager(
- ContextManager contextManager
)
Implementation
@Deprecated('This method will be removed in 0.19.0 without replacement.')
void registerGlobalContextManager(ContextManager contextManager) {
if (_contextManager != _noopContextManager) {
throw StateError(
'Global context manager is already registered, registerContextManager '
'must be called only once.');
}
_contextManager = contextManager;
}