checkAndRun method

Future<void> checkAndRun(
  1. FlowContext context
)

Implementation

Future<void> checkAndRun(FlowContext context) async {
  if (condition(context)) {
    await pipeline.execute(context);
  }
}