ElicitRequest extension type

The parameters for an elicitation/create request.

on
Implemented types

Constructors

ElicitRequest.new({required String message, required ObjectSchema requestedSchema})
factory

Properties

message String
A message to display to the user when collecting the response.
no setter
meta MetaWithProgressToken?
If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress).
no setterinherited
requestedSchema ObjectSchema
A JSON schema that describes the expected response.
no setter

Static Methods

validateRequestedSchema(ObjectSchema schema) bool
Validates the schema to make sure that it conforms to the limitations of the spec.

Constants

methodName → const String