defaultConfig property
ConfigList
defaultConfig
Global configuration that specifies if, by default, the ILists
use equality or identity for their operator ==.
By default isDeepEquals: true
(lists are compared by equality) and cacheHashCode = true
.
Implementation
static ConfigList get defaultConfig => _defaultConfig;
See also: ConfigList, ImmutableCollection, resetAllConfigurations
Implementation
static set defaultConfig(ConfigList config) {
if (_defaultConfig == config) return;
if (ImmutableCollection.isConfigLocked)
throw StateError("Can't change the configuration of immutable collections.");
_defaultConfig = config;
}