parserShowType method
根据 showType
解析出对应的 BrnSelectionWindowType
, 默认为 BrnSelectionWindowType.list
Implementation
SelectionWindowType parserShowType(String? showType) {
if (showType == "list") {
return SelectionWindowType.list;
} else if (showType == "range") {
return SelectionWindowType.range;
}
return SelectionWindowType.list;
}