isOdd property

bool get isOdd

Whether this item is at an odd index.

Implementation

bool get isOdd => index % 2 == 1;