SuggestResponse class

Constructors

SuggestResponse({Funnel? funnel, String? narrative, String? next, List<String> recommendations = const [], List<Suggestion> suggestions = const []})
Returns a new SuggestResponse instance.

Properties

funnel ↔ Funnel?
Funnel is the org's trailing-window traffic → signups → orders.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
narrative ↔ String?
Narrative is the AI's grounded prose over those quests and numbers. Absent when no AI plane is wired or the completion failed — never fabricated.
getter/setter pair
next ↔ String?
Next is the id of the single next step the static journey names — the linear answer the ranked Suggestions refine.
getter/setter pair
recommendations ↔ List<String>
Recommendations are the next-best GTM actions derived from that funnel.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suggestions ↔ List<Suggestion>
Suggestions are the available, non-terminal quests ranked best-first by how much downstream work each unblocks.
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) → SuggestResponse?
Returns a new SuggestResponse instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<SuggestResponse>
mapFromJson(dynamic json) → Map<String, SuggestResponse>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<SuggestResponse>>

Constants

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