AssistantSuggestion class
A single personalized onboarding suggestion chip for Arc's zero state.
Constructors
- AssistantSuggestion({String? candidateType, String? icon, String? label, AssistantSuggestionLoadSession? loadSession, String? rationale, String? seedPrompt, String? sendMessage, String? source, String? suggestionId})
- AssistantSuggestion.fromJson(Map json_)
Properties
- candidateType ↔ String?
-
Rule-table candidate type in kebab-case (e.g. "resume-pending-review"),
for metrics.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ String?
-
Icon hint for the chip.
Possible string values are:
getter/setter pair
- label ↔ String?
-
Chip label shown to the user (at most 60 characters).
getter/setter pair
- loadSession ↔ AssistantSuggestionLoadSession?
-
Open an existing assistant session.
getter/setter pair
- rationale ↔ String?
-
Optional short explanation of why this suggestion is shown (tooltip /
rationale popover).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seedPrompt ↔ String?
-
Prefill the composer with this text; the user reviews and sends.
getter/setter pair
- sendMessage ↔ String?
-
Prefill the composer with this text and submit immediately.
getter/setter pair
- source ↔ String?
-
How this suggestion was produced.
Possible string values are:
getter/setter pair
- suggestionId ↔ String?
-
Stable identifier for this suggestion, round-tripped by clients in
interaction logging.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited