Every function in dart is an object.
Functions that we use very often without a name are also called lambda functions.
Lambda functions are also called Arrow functions.
You can see usage example and output below.
Follow my blog for more baransel.dev.