SelectItem class final
选择/性别词条(keymale/keyfemale 子键 + @select(var) 注解)
Excel 示例:
userTitle | @select(gender) | | ← 父行(注解)
userTitlemale | | Mr. | 先生
userTitlefemale | | Ms. | 女士
userTitleother | | |
Constructors
Properties
-
additionalParams
→ List<
PlaceholderParam> -
除 pivot 以外的其他类型化参数
final
-
allParams
→ List<
PlaceholderParam> -
所有参数:pivot 排第一,之后是 additionalParams
no setter
- description → String?
-
词条描述,来自 Excel description 列(注解行为 null)
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
finalinherited
- pivotParam → String
-
驱动选择的变量名(如 "gender"),类型固定为 String
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
translations
→ Map<
String, Map< String, String> > -
language → (case → 模板字符串)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toIcu(
String language) → String - 生成该语言的 ICU select 字符串
-
toString(
) → String -
A string representation of this object.
inherited
-
valueFor(
String language) → String? -
获取指定语言的值,若该语言无翻译则 fallback 到首个非空语言
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited