isPositive property

bool get isPositive

checks if number is positive

Implementation

bool get isPositive => _isValid && this > 0;