initialSelectedItem method

void initialSelectedItem()

Implementation

void initialSelectedItem() {
  if (groupId == -1) {
    groupId = widget.initialValue ?? -1;
  }
}