total property

num get total

Get total from list of num

Implementation

num get total {
  num t = 0;
  for (var e in this) {
    t += e;
  }
  return t;
}