forEach abstract method

void forEach(
  1. void print(
    1. String line
    )
)

Implementation

void forEach(void Function(String line) print);