isPositive property
bool
get
isPositive
Returns true
if the number is positive, false
otherwise.
Implementation
bool get isPositive => this > 0;
Returns true
if the number is positive, false
otherwise.
bool get isPositive => this > 0;