Wrapper for Iterator providing the pre-Dart 1.0 iterator interface.
This class should not be used in new code.
This class was intended for migration to the current Iterator interface, from an earlier interface using hasNext and next. The API change happened in the Dart 1.0 release. Any other use of this class should be migrated to using the current API directly, e.g., using a separate variable to cache the Iterator.moveNext result, so that hasNext can be checked multiple times.
- @Deprecated("Will be removed in a later version of the Dart SDK")