elements property
UnmodifiableSetView<T>
get
elements
Returns an unmodifiable view of the set elements.
This prevents external modification of the internal set structure.
Implementation
UnmodifiableSetView<T> get elements => UnmodifiableSetView(_elements);