sum method
Implementation
double sum() {
if (this == null) return 0;
var i = 0.0;
for (final x in this!) {
i += x;
}
return i;
}
double sum() {
if (this == null) return 0;
var i = 0.0;
for (final x in this!) {
i += x;
}
return i;
}