castFrom<T, R> static method
Returns a copy of other
casting all elements to instances of R
.
See castFromIterable.
Implementation
static ImmortalSet<R> castFrom<T, R>(ImmortalSet<T> other) => other.cast<R>();
Returns a copy of other
casting all elements to instances of R
.
See castFromIterable.
static ImmortalSet<R> castFrom<T, R>(ImmortalSet<T> other) => other.cast<R>();