firstHalf method

List<E> firstHalf()

Returns the first half of the iterable.

Implementation

List<E> firstHalf() => take(halfLength).toList();