isEven property Null safety

bool isEven

Returns true if the int value is even.

Returns false if the int value is null

Implementation

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