isPositive property

bool get isPositive

isPositive: Check if this is positive

Implementation

bool get isPositive {
  if (isNull) return false;
  if (this! > 0) return true;
  return false;
}