Returns an iterable of R instances. If this set contains instances which cannot be cast to R, it will throw an error.
R
@override Iterable<R> cast<R>() => _s.cast<R>();