PromptArgument extension type

Describes an argument that a prompt can accept.

on

Constructors

PromptArgument.new({required String name, 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
The name of the argument.
no setter
required bool?
Whether this argument must be provided.
no setter