cloneList static method
generate clone list of dropdown item
Implementation
static List<DropdownItem> cloneList(List<DropdownItem> list) {
List<DropdownItem> cloneList = [];
for (DropdownItem obj in list) {
cloneList.add(obj);
}
return cloneList;
}