foldLeft<B> method

B foldLeft<B>(
  1. B z,
  2. B f(
    1. B previous,
    2. R r
    )
)

Implementation

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