dart lambda expression

JavaScript
someFunction.then( (String str) => print(str) );
Source

Also in JavaScript: