PromptArgument extension type
Describes an argument that a prompt can accept.
- on
- Implemented types
Constructors
- PromptArgument.new({required String name, String? title, String? description, bool? required})
-
factory
-
PromptArgument.fromMap(Map<
String, Object?> _value)
Properties
- description → String?
-
A human-readable description of the argument.
no setter
- name → String
-
Intended for programmatic or logical use, but used as a display name in
past specs for fallback (if title isn't present).
no setterinherited
- required → bool?
-
Whether this argument must be provided.
no setter
- title → String?
-
A short title for this object.
no setterinherited