getlistselected method
Implementation
List<String> getlistselected() {
final List<String> checked = [];
final List<ChipData> xt =
chipsdata.where((element) => element.selected).toList();
for (var element in xt) {
checked.add(element.text);
}
return checked;
}