isOdd property Null safety

bool? isOdd

Returns true if and only if this integer is odd.

Implementation

bool? get isOdd => value?.isOdd;