Strategy class

Constructors

Strategy({String? action, Blog? blog, String? category, bool? enabled, String? era, String? id, String? principle, String? source_, List<String> tags = const [], String? workload})
Returns a new Strategy instance.

Properties

action ↔ String?
Action is the tactic itself: the thing to go and do, stated imperatively.
getter/setter pair
blog ↔ Blog?
Blog is the tactic's long-form explainer; absent for tactics that have none.
getter/setter pair
category ↔ String?
Category is the growth discipline the tactic belongs to — the axis ?category= narrows the corpus on, and one of the facets a caller browses by.
getter/setter pair
enabled ↔ bool?
Enabled is the admin lever. Absent reads as ON; an explicit false drops the tactic from every org-facing corpus read while leaving it in the document.
getter/setter pair
era ↔ String?
Era separates an AI-era tactic (modern) from a classical one (heritage).
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the tactic's stable slug, unique across the corpus.
getter/setter pair
principle ↔ String?
Principle is the spine slug this tactic files under (a Principle.Slug).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source_ ↔ String?
Source is where the tactic came from — the attribution a reader is owed.
getter/setter pair
tags ↔ List<String>
Tags are PRECONDITIONS, not labels — every one must be satisfied by the org's observed profile before the tactic surfaces, so an untagged tactic is universally applicable. Two vocabularies: stage:<research|formed|launched| activated|scaling> reads the org's growth stage, has:<capability> reads an observed signal.
getter/setter pair
workload ↔ String?
Workload is how much effort running the tactic costs, so a corpus can be narrowed to what an org has the hands for right now.
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) → Strategy?
Returns a new Strategy instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Strategy>
mapFromJson(dynamic json) → Map<String, Strategy>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Strategy>>

Constants

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