PlaceholderType enum
占位符参数类型,对应 Excel 中 {name:type} 语法的 type 部分
Values
- string → const PlaceholderType
- intType → const PlaceholderType
- doubleType → const PlaceholderType
- numType → const PlaceholderType
- dateTimeType → const PlaceholderType
Properties
- arbType → String
-
ARB 格式中的类型名(与 Dart 类型名相同)
no setter
- dartType → String
-
Dart 类型名,用于生成方法签名
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String? s) → PlaceholderType - 从 Excel 注解字符串解析类型,如 "int" → intType,未知类型默认 string
Constants
-
values
→ const List<
PlaceholderType> - A constant List of the values in this enum, in order of their declaration.