Group: style
Maturity: stable
Linter v0.1.30
View all Lint Rules
Using the Linter
DON'T create a lambda when a tear-off will do.
BAD:
names.forEach((name) { print(name); });
GOOD:
names.forEach(print);