isPositiveDouble static method

bool isPositiveDouble(
  1. double? value
)

Validates that a double is positive

Implementation

static bool isPositiveDouble(double? value) {
  return value != null && value > 0;
}