Returns the sum of the given iterable of numbers.
iterable
num sum(Iterable<num> iterable) { num total = 0; for (final value in iterable) { total += value; } return total; }