OnInvokeCallback<T extends Intent> typedef

OnInvokeCallback<T extends Intent> = Object? Function(T intent)

The signature of a callback accepted by CallbackAction.onInvoke.

Such callbacks are implementations of Action.invoke. The returned value is the return value of Action.invoke, the argument is the intent passed to Action.invoke, and so forth.

Implementation

typedef OnInvokeCallback<T extends Intent> = Object? Function(T intent);