build method

BuiltSet<T> build()

Converts to a BuiltSet.

Implementation

BuiltSet<T> build() {
  // We know a `Set` is not a `BuiltSet`, so we have to copy.
  return _BuiltSet<T>.of(this);
}