intialSelectedItem method

void intialSelectedItem()

Implementation

void intialSelectedItem() {
  //intialValue:
  //The button initializes the position.
  //If it is not filled, it is not selected.
  if (groupId == -1) {
    groupId = widget.intialValue ?? -1;
  }
}