head property
A
get
head
inherited
Returns the first element of this collection, or throws if it is empty.
Implementation
A get head {
final it = iterator;
if (!it.hasNext) throw UnsupportedError("called 'head' on empty");
return it.next();
}