cast<T> method

*<Null safety>*
  • @override

Set<T> cast <T>()

Implementation

@override
Set<T> cast<T>() {
  if (this is MapKeySet<T>) {
    return this as MapKeySet<T>;
  }
  return Set.castFrom<E, T>(this);
}