whereType<R> method

ImmortalSet<R> whereType<R>()

Returns a new set with all elements of this set that have type R.

Implementation

ImmortalSet<R> whereType<R>() => ImmortalSet(_set.whereType<R>());