dart array reduce code example Example: dart reduce iterable.reduce((value, element) => value + element);