Don’t create a lambda when a tear-off will do

If we have a function that invokes a method with the same arguments as are passed to it, you don’t need to manually wrap the call in a lambda.\


Do

List<String> names = []

names.forEach(print);


Don't

List<String> names = []
	  
names.forEach((name) {
  print(name);
});