getText method

String? getText(
  1. String customId
)

Return an String if the modal has the designed field

Example :

String? field = interaction.getText('custom_field_id');

Implementation

String? getText(String customId) => data.get(customId);