sum method

int sum()

sum up the sub accounts below this one

Implementation

int sum() {
  int mysum = valuta;
  children.forEach((key, value) {
    mysum += value.sum();
  });
  return mysum;
}