mean property

double get mean

Implementation

double get mean {
  if (isEmpty) return double.nan;
  return reduce((a, b) => a + b) / length;
}