isEven property

bool? isEven

Returns true if and only if this integer is even.

Implementation

bool? get isEven => value?.isEven;