HashSet<T>.from constructor
- Iterable<
T> elements
Creates a HashSet containing the elements of the given iterable.
Implementation
HashSet.from(Iterable<T> elements)
: _container = collection.HashSet<T>.from(elements);
Creates a HashSet containing the elements of the given iterable.
HashSet.from(Iterable<T> elements)
: _container = collection.HashSet<T>.from(elements);