clone method

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

Clone another set from an existing set.

All contents are shallow copies.

既存のセットから別のセットをクローンします。

中身はすべてシャローコピーです。

Implementation

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