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