foreach<B> method

void foreach<B>(
  1. void f(
    1. A
    )
)

Implementation

void foreach<B>(void Function(A) f) => map(f).run;