isPositive property

bool get isPositive

Returns true if the validated number is greater than 0.

Implementation

bool get isPositive => validate() > 0;