Blueprint class

Constructors

Blueprint({String? brand, bool? enabled, List<Principle> principles = const [], List<Section> sections = const [], List<JourneyStep> steps = const [], List<Strategy> strategies = const [], List<Page> templates = const [], String? title, String? version})
Returns a new Blueprint instance.

Properties

brand ↔ String?
Brand is the white-label key this playbook serves. Empty is the shared default every unbranded deployment falls back to.
getter/setter pair
enabled ↔ bool?
Enabled is the whole-playbook lever. Absent reads as ON; an explicit false makes resolution skip this playbook entirely and fall through to the next tier, rather than serving an empty journey.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
principles ↔ List<Principle>
Principles are the fixed 64-archetype spine a tactic files under. It is authored data an operator organises the corpus by; nothing in the checklist engine reads it.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sections ↔ List<Section>
Sections are the journey's ordered phases.
getter/setter pair
steps ↔ List<JourneyStep>
Steps are every checklist item, disabled ones included — this is the authored document, not the projection an org runs.
getter/setter pair
strategies ↔ List<Strategy>
Strategies are the tactics corpus the recommendation reads narrow.
getter/setter pair
templates ↔ List<Page>
Templates are the reusable prompts and snippets steps reference by id.
getter/setter pair
title ↔ String?
Title is the playbook's name as a person reads it.
getter/setter pair
version ↔ String?
Version is the playbook's own name for this edition of its content, chosen by whoever authored it. It travels onto every journey projected from it. The store's numeric revision is a separate value and lives beside it.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → Blueprint?
Returns a new Blueprint instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Blueprint>
mapFromJson(dynamic json) → Map<String, Blueprint>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Blueprint>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.