UnmodifiableSetView<E>.empty constructor

const UnmodifiableSetView<E>.empty()

An unmodifiable empty set.

This is the same as new UnmodifiableSetView(new Set()), except that it can be used in const contexts.

Implementation

const factory UnmodifiableSetView.empty() = EmptyUnmodifiableSet<E>;