cast<R> method

  1. @override
ListSetView<R> cast<R>()
override

Returns a list-set of R instances. If this list-set contains instances which cannot be cast to R, it will throw an error.

Implementation

@override
ListSetView<R> cast<R>() => ListSetView<R>(_set.cast<R>());