SignalAction<T> constructor

SignalAction<T>({
  1. required String name,
  2. required Future<T> execute(),
  3. void after(
    1. T result
    )?,
  4. void onError(
    1. Object error,
    2. StackTrace stackTrace
    )?,
})

Implementation

SignalAction({
  required this.name,
  required this.execute,
  this.after,
  this.onError,
});