iterable With
Create an Iterable, starting with the receiver. The iterator produces successive values by applying advance until null is reached. The receiver is also allowed to be null, which indicates an empty iterator.
Receiver
The initial value, if any, returned by the iterator.
Return
An Iterable
Parameters
advance
A function to extract the next value from the current value, such as by traversing a null-terminated singly-linked list.