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