SagaStep<T extends Object?> constructor
const
SagaStep<T extends Object?> ({})
Creates a saga step with the given name, execute, and compensate functions.
All parameters are required and const-constructible for compile-time optimization if the functions are const.
Implementation
const SagaStep({
required this.name,
required this.execute,
required this.compensate,
});