ActionHandler typedef

ActionHandler = Future<void> Function(InteractionOutput params, {Object? data, int? formIndex, Map<String, Object>? uriVariables})

A function that is called when an external request for invoking an Action is received and defines what to do with such requests.

Implementation

typedef ActionHandler = Future<void> Function(
  InteractionOutput params, {
  int? formIndex,
  Map<String, Object>? uriVariables,
  Object? data,
});