cacheHashCode property
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 set
with mutable data.
Implementation
final bool cacheHashCode;