clone method

Set<T> clone({
  1. bool immutable = false,
})

Implementation

Set<T> clone({bool immutable = false}) {
  if (immutable) return this.immutable;
  return Set<T>.from(this);
}