Convert the prompt value from a map.
factory StringPromptValue.fromMap(Map<String, dynamic> map) => StringPromptValue(map['value'] as String);