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