SelectionEntity.simple constructor

SelectionEntity.simple({
  1. String? key,
  2. String? value,
  3. String title = '',
  4. String? type,
})

构造简单筛选数据

Implementation

SelectionEntity.simple({
  this.key,
  this.value,
  this.title = '',
  this.type,
})  : maxSelectedCount = SelectionConstant.maxSelectCount,
      isCustomTitleHighLight = false,
      isSelected = false,
      children = [],
      extMap = {} {
  filterType = parserFilterTypeWithType(type);
  filterShowType = parserShowType(showType);
  originalCustomMap = Map();
  isSelected = false;
}