A function that is called when an action is invoked.
typedef ActionFunction(Map<String, dynamic> params);