getSelectedContent method

String getSelectedContent(
  1. String showText
)

showText is the text on screen

Implementation

String getSelectedContent(String showText) {
  if (deleteAll) {
    return actualText;
  }
  return showText;
}