copy method

Set<T> copy()

Makes a shallow copy of this Set. The values are not copied, so if they are objects they may continue to be shared with the original Set. @expose @return {Set.

Implementation

_i3.Set<T> copy() => _i4.callMethod(
      this,
      'copy',
      [],
    );