isOdd property Null safety

bool isOdd

Returns true if the int value is odd

Returns false if the int value is null

Implementation

bool get isOdd => _value?.isOdd ?? false;