double sumByDouble(double Function(T item) value) { var result = 0.0; for (final item in this) { result += value(item); } return result; }