PlaybookStepContext constructor

const PlaybookStepContext({
  1. required String playbook,
  2. required List<String> path,
  3. int depth = 0,
  4. String caption = '',
  5. void emit(
    1. Map<String, Object?> event
    )?,
})

Creates a PlaybookStepContext.

Implementation

const PlaybookStepContext({
  required this.playbook,
  required this.path,
  this.depth = 0,
  this.caption = '',
  this.emit,
});