preStep method

  1. @override
void preStep()
override

Implementation

@override
void preStep() {
  try {
    preStepCallBacks?[step].call().whenComplete(() => super.preStep());
  } catch (_) {
    super.preStep();
  }
}