isEven property

bool? get isEven

Returns true if and only if this integer is even.

Implementation

bool? get isEven => value?.isEven;