ISet<T> constructor

ISet<T>([
  1. Iterable<T>? iterable
])

Create an ISet from an iterable, with the default configuration. Fast, if the iterable is another ISet.

To create an empty ISet with the default configuration, just omit the iterable: ISet().

Note: To create an ISet with a specific configuration, use the ISet.withConfig() constructor.

Note: If you want to create an empty ISet of the same configuration as a source ISet, simply call clear on the source ISet.

Implementation

factory ISet([Iterable<T>? iterable]) => //
    ISet.withConfig(iterable, defaultConfig);