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