sum property

T get sum

Implementation

T get sum => (isNotEmpty) ? reduce((a, b) => a + b as T) : 0.0 as T;