ChatResponse class
Constructors
-
ChatResponse({Funnel? funnel, String? reply, List<
Suggestion> suggestions = const []}) - Returns a new ChatResponse 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
- reply ↔ String?
-
Reply is the coach's answer, grounded only in the quests and funnel below. When no AI plane is reachable it is the deterministic reply naming the top real quest — never silence, never invention.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
suggestions
↔ List<
Suggestion> -
Suggestions are the current candidate quests, ranked best-first.
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) → ChatResponse? -
Returns a new ChatResponse instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ChatResponse> -
mapFromJson(
dynamic json) → Map< String, ChatResponse> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ChatResponse> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.