firstHalf method

List<T> firstHalf()

Takes the first half of a list

Implementation

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