It is an anonymous function and fis the parameter that it takes
(f) => f.startsWith('a')
where(...) fruits , , true
where(...) , , , , .toList().
DartPad
"" , ,
myFilter(f) => f.startsWith('a');
main() {
fruits.where(myFilter).toList();
}
myFilter(f) => f.startsWith('a');
myFilter(f) {
return f.startsWith('a');
}