setStrictMode method
Sets strict mode for the environment. When strict mode is enabled, only locally registered filters and tags are accessible. Global registries are ignored in strict mode.
Implementation
void setStrictMode(bool strict) {
_strictMode = strict;
}