SelectorItem<T> constructor

SelectorItem<T>({
  1. required String id,
  2. required String name,
  3. List<SelectorItem>? childList,
  4. bool hideNext = false,
  5. bool isCheck = false,
  6. bool isSupportSelectAll = false,
  7. T? param,
})

Implementation

SelectorItem(
    {required String id,
    required String name,
    List<SelectorItem>? childList,
    bool hideNext = false,
    bool isCheck = false,
    bool isSupportSelectAll = false,
    T? param}) {
  _id = id;
  _name = name;
  _hideNext = hideNext;
  _childList = childList;
  check = isCheck;
  supportSelectAll = isSupportSelectAll;
  _param = param;
}