StringProgressLedgerSlot class

A string-valued ProgressLedgerSlot.

Inheritance

Constructors

StringProgressLedgerSlot(String key, String question, {String? schemaTypeSuffix})
Creates a string slot.
const

Properties

formattedQuestion String
The question formatted as an indented bullet for the prompt.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key String
The slot key used in prompts and answer JSON.
finalinherited
question String
The natural-language question presented to the manager.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType String
The JSON schema type of the slot's answer (e.g. boolean, string).
no setteroverride
schemaTypeSuffix String?
Optional schema type suffix appended in the answer schema.
finalinherited
suffixString String
The parenthesised schema-type suffix, or empty when none.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readRawValue(Map<String, Object?> answers) Object?
Reads the raw answer value at this slot, or null when absent.
inherited
readReason(Map<String, Object?> answers) String?
Reads the raw reason at this slot, or null when absent.
inherited
toString() String
A string representation of this object.
inherited
tryGetValue(Map<String, Object?> answers) String?
Reads the string answer at this slot, or null when absent or invalid.

Operators

operator ==(Object other) bool
The equality operator.
inherited