SelectionEntity constructor
SelectionEntity({
- String? key,
- String? value,
- String? defaultValue,
- String title = '',
- String? subTitle,
- List<
SelectionEntity> children = const [], - bool isSelected = false,
- Map extMap = const {},
- Map<
String, String> ? customMap, - String? type,
- String? showType,
- bool isCustomTitleHighLight = false,
- int maxSelectedCount = SelectionConstant.maxSelectCount,
Implementation
SelectionEntity(
{this.key,
this.value,
this.defaultValue,
this.title = '',
this.subTitle,
this.children = const [],
this.isSelected = false,
this.extMap = const {},
this.customMap,
this.type,
this.showType,
this.isCustomTitleHighLight = false,
this.maxSelectedCount = SelectionConstant.maxSelectCount}) {
filterType = parserFilterTypeWithType(type);
filterShowType = parserShowType(showType);
originalCustomMap = Map();
}