isEven property Null safety

bool? isEven

Returns true if and only if this integer is even.

Implementation

bool? get isEven => value?.isEven;