printOptions method

void printOptions()

Implementation

void printOptions() {
  for (int i = 0; i < options.length; i++) {
    if (i == selectedIndex) {
      print('* ${options[i]}');
    } else {
      print('  ${options[i]}');
    }
  }
}