ReportActionHandler<S extends ActionMessage> constructor
ReportActionHandler<S extends ActionMessage> ({
- ActionReport<
S> ? onStarted, - ActionReport<
S> ? onFinished,
Auxiliary class for customizing the actions of features
Implementation
ReportActionHandler({
ActionReport<S>? onStarted,
ActionReport<S>? onFinished,
}) : onStarted = StateAction<S>(action: onStarted),
onFinished = StateAction<S>(action: onFinished);