ActionCallFunction(ActionCallback _function)

Creates a new callback action with the supplied callback.

var myAction = new ActionCallFunction(() { print("Hello!";) });

Source

ActionCallFunction(this._function);