Example :
String? str = interaction.getString('option_name');
String? getString (String optionName) { return params[optionName].toString(); }