positive property

double get positive

Implementation

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