skipTo method
Returns the list suffix after the first occurrence of element
. If the
element is not found return the empty list.
Implementation
Iterable<E> skipTo(E element) {
final index = indexOf(element);
if (index < 0) return getRange(0, 0);
return getRange(index + 1, length);
}