sum property

num get sum

Sum of elements.

Implementation

num get sum => fold<num>(0, (num a, num b) => a + b);