ElicitationSchema class abstract
Base type for elicitation primitive schema definitions.
The spec restricts an elicitation requestedSchema to a flat object of
primitive properties. This typed layer (SEP-1034 defaults, SEP-1330
enums) is additive over the raw-map path accepted by
Server.requestClientElicitation — every subtype simply produces the
spec-shaped JSON map. Round-trips via toJson / ElicitationSchema.fromJson.
Constructors
- ElicitationSchema()
-
const
-
ElicitationSchema.fromJson(Map<
String, dynamic> json) -
Parse a primitive schema definition map back into a typed instance.
Recognizes string / number / integer / boolean / single-select enum /
multi-select enum (
type: arraywhoseitemsis an enum). Falls back to RawElicitationSchema for anything unrecognized.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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