fromIterator method

BidirectionalIterator<V> fromIterator (
  1. V anchor,
  2. {bool reversed: false,
  3. bool inclusive: true}
)

Returns an BidirectionalIterator that starts at anchor. By default, the iterator includes the anchor with the first movement; set inclusive to false if you want to exclude the anchor. Set reversed to true to change the direction of of moveNext and movePrevious.

Note: This iterator allows you to walk the entire set. It does not present a subview.

Implementation

BidirectionalIterator<V> fromIterator(V anchor,
    {bool reversed = false, bool inclusive = true});