getlistselectedindx method

List<int> getlistselectedindx()

Implementation

List<int> getlistselectedindx() {
  final List<int> checked = [];
  checkboxdata.asMap().forEach((index, item) {
    if (item.selected) {
      checked.add(index);
    }
  });
  return checked;
}