getSelectedValues method

  1. @override
List<int> getSelectedValues()
override

Implementation

@override
List<int> getSelectedValues() {
  List<int> items = [];
  for (int i = 0; i < picker!.selecteds.length; i++) {
    int j = picker!.selecteds[i];
    int v = data[i].valueOf(j);
    items.add(v);
  }
  return items;
}