iterator property Null safety

Iterator<E> iterator
override

An iterator that iterates over the elements of this set.

The order of iteration is defined by the individual Set implementation, but must be consistent between changes to the set.

Implementation

@override
Iterator<E> get iterator => _iterable.iterator;