isOdd property

bool? get isOdd

Returns true if and only if this integer is odd.

Implementation

bool? get isOdd => value?.isOdd;