allowNewErrorHandlers property
bool
get
allowNewErrorHandlers
Allow new handlers in the future or not
Implementation
static bool get allowNewErrorHandlers => _allowNewErrorHandlers;
set
allowNewErrorHandlers
(bool? allow)
Lets you to disallow but then never allows you again
Implementation
static set allowNewErrorHandlers(bool? allow) {
// Once set false, that's it.
if (_allowNewErrorHandlers) {
if (allow != null) {
_allowNewErrorHandlers = allow;
}
}
}