list static method

List<Map<String, Object?>> list()

Each registered playbook's name, description, speed and step titles.

Implementation

static List<Map<String, Object?>> list() => [
  for (final MapEntry<String, Playbook Function()> entry
      in PlaybookRegistry.playbooks.entries)
    _describe(entry.key, entry.value()),
];