failureRate property

double get failureRate

Failure rate (0.0 to 1.0)

Implementation

double get failureRate {
  final total = totalCompleted + totalFailed;
  if (total == 0) return 0.0;
  return totalFailed / total;
}