CallbackAction<T extends Intent> constructor

CallbackAction<T extends Intent>({
  1. required OnInvokeCallback<T> onInvoke,
})

A constructor for a CallbackAction.

The given callback is used as the implementation of invoke.

Implementation

CallbackAction({required this.onInvoke});