sumDouble method

double sumDouble(
  1. double propertyFn(
    1. E e
    )
)

Implementation

double sumDouble(double Function(E e) propertyFn) =>
    fold(0.0, (p, e) => p + propertyFn(e));