positive property

int get positive

Implementation

int get positive {
  if (this == null) return 0;
  return this! > 0 ? this! : 0;
}