PromptReference extension type
Identifies a prompt.
Constructors
- PromptReference.new({required String name})
-
factory
-
PromptReference.fromMap(Map<
String, Object?> _value)
Properties
- isPrompt → bool
-
Whether or not this is a PromptReference.
no setterinherited
- isResource → bool
-
Whether or not this is a ResourceReference.
no setterinherited
- name → String
-
The name of the prompt or prompt template
no setter
- type → String
-
This should always be expectedType.
no setteroverride
Constants
- expectedType → const String