initSelects method
Implementation
@override
void initSelects() {
int maxLevel = getMaxLevel();
// ignore: unnecessary_null_comparison
if (picker!.selecteds == null) picker!.selecteds = <int>[];
if (picker!.selecteds.isEmpty) {
for (int i = 0; i < maxLevel; i++) {
int v = data[i].indexOf(data[i].initValue);
if (v < 0) v = 0;
picker!.selecteds.add(v);
}
}
}