action property

Future<StepError?> Function(StepContext context) action
final

The work of the step. It returns the error when the step has failed

Implementation

final Future<StepError?> Function(StepContext context) action;