dart lambda funciton code example Example: dart lambda expression someFunction.then( (String str) => print(str) );