E>.of constructor Null safety
Creates a Set from
The created Set is a LinkedHashSet. As such, it considers elements that are equal (using operator ==) to be indistinguishable, and requires them to have a compatible Object.hashCode implementation.
The set is equivalent to one created by
factory Set.of(Iterable<E> elements) = LinkedHashSet<E>.of;