sumSC method
- @Deprecated('Dart natively supports this function. Read DartDoc comment for more info.')
Deprecation hint: Read the migration guide for more details on migrating.
Returns the sum of all elements.
Example:
[2.0, 6.0, 4.0, 8.0].sum(); // 20.0
Implementation
@Deprecated(
'Dart natively supports this function. Read DartDoc comment for more info.')
double sumSC() {
return sumByDouble((n) => n);
}