extARRAVG function

dynamic extARRAVG(
  1. List values
)

ARRAVG(values): the average of several values

Implementation

dynamic extARRAVG(List<dynamic> values) {
  final n = values.length;
  if (n == 0) return 0.0;
  return extARRSUM(values) / n;
}