cast<R> method

Set<R> cast <R>()

Implementation

Set<R> cast<R>() {
  Set<Object> self = this;
  return self is Set<R> ? self : Set.castFrom<E, R>(this, newSet: _newSet);
}