foldLeft<B> method
B
foldLeft<B>(
- B z,
- B f(
- B previous,
- R r
Implementation
B foldLeft<B>(B z, B Function(B previous, R r) f) =>
fold((_) => z, (R a) => f(z, a));