ISetImpl<T>.unsafe constructor

ISetImpl<T>.unsafe(
  1. Set<T> set, {
  2. required ConfigSet config,
})

Implementation

ISetImpl.unsafe(Set<T> set, {required this.config})
    : _s = SFlat<T>.unsafe(set),
      super._gen() {
  if (ImmutableCollection.disallowUnsafeConstructors)
    throw UnsupportedError("ISet.unsafe is disallowed.");
}