menu
gaimon package
documentation
extensions/list_extension.dart
ListExtension
sum method
sum method
dark_mode
light_mode
sum
method
int
sum
(
)
Implementation
int sum() { if (isEmpty) return 0; return reduce((value, element) => value + element); }
gaimon package
documentation
extensions/list_extension
ListExtension
sum method
ListExtension extension on
List
<
int
>