nested method
The context for steps nested in the step at index of total called
title, belonging to playbook with path.
Implementation
PlaybookStepContext nested({
required int index,
required int total,
required String title,
String? playbook,
List<String>? path,
}) => PlaybookStepContext(
playbook: playbook ?? this.playbook,
path: path ?? this.path,
depth: depth + 1,
caption: '$caption$index/$total · $title › ',
emit: emit,
);