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