Set factory constructor
Set(Creates an empty Set.
The created Set is a plain LinkedHashSet. As such, it considers elements that are equal (using ==) to be indistinguishable, and requires them to have a compatible Object.hashCode implementation.
The set is equivalent to one created by new LinkedHashSet<E>()
.
Source
factory Set() = LinkedHashSet<E>;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/Set/Set.html