updateSelectedOption method

void updateSelectedOption(
  1. int selectedVal
)

Implementation

void updateSelectedOption(int selectedVal) {
  emit(selectedVal);
}