PromptOptions.fromJson constructor
Alternate constructor that creates a PromptOptions from a json.
Params:
- json: contains the source for instance creation.
Implementation
factory PromptOptions.fromJson(Map<String, dynamic> json) {
return const PromptOptionsConverter().fromJson(json);
}