halfLength property

int get halfLength

Returns half the length (floored).

Implementation

int get halfLength => (length / 2).floor();