dataAddAll<T extends BaseItem> static method
数据装填全部
Implementation
static void dataAddAll<T extends BaseItem>(
List<T> list, DataItemBuild<T> one) {
if (list[0].hint() == "全部") return;
list.forEach((T element) {
element.lists().forEach((e) => e.lists().insert(0, one(2, e.value())));
element.lists().insert(0, one(1, element.value()));
});
list.insert(0, one(0, null));
}