ConfigMapOfSets class

  • If isDeepEquals is false, the IMap equals operator (==) compares by identity.
  • If isDeepEquals is true (the default), the IMap equals operator (==) compares all entries, ordered.
  • If sortKeys is true, will sort the list output of keys. Otherwise, it will keep the insertion order (the default).
  • If cacheHashCode is true (the default), the IMapOfSets will only calculate the hashCode once, when it is asked — initially, internally null. Otherwise, it will always recalculate it.
Annotations
  • @immutable

Constructors

ConfigMapOfSets({bool isDeepEquals = true, bool sortKeys = false, bool sortValues = false, bool removeEmptySets = true, bool cacheHashCode = true})
const

Properties

asConfigMap ConfigMap
no setter
asConfigSet ConfigSet
no setter
cacheHashCode bool
If false, the hashCode will be calculated each time it's used. If true (the default), the hashCode will be cached. You should turn the cache off only if may use the immutable map of sets with mutable data.
final
hashCode int
The hash code for this object.
no setteroverride
isDeepEquals bool
If false, the equals operator (==) compares by identity. If true (the default), the equals operator (==) compares all items, ordered.
final
removeEmptySets bool
If true (the default), sets which become empty are automatically removed, together with their keys. If false, empty sets and their keys are kept.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortKeys bool
If true (the default), will sort the list output of keys.
final
sortValues bool
If true (the default), will sort the list output of values.
final

Methods

copyWith({bool? isDeepEquals, bool? sortKeys, bool? sortValues, bool? removeEmptySets, bool? cacheHashCode}) ConfigMapOfSets
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override