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