FieldInfo class

字段信息结构体,便于模板渲染和代码生成。

Constructors

FieldInfo(String name, String keyName, String type, bool typeIsNull, String defaultValue, bool isSet)
构造函数
FieldInfo.create(FieldElement field)
工厂方法:从 FieldElement 创建 FieldInfo
factory

Properties

defaultValue String
默认值
final
hashCode int
The hash code for this object.
no setterinherited
isSet bool
是否有 setter
final
keyName String
配置项 key 名
final
name String
字段名
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toMap Map<String, dynamic>
用于 Mustache 模板渲染的 Map
getter/setter pair
type String
字段类型
final
typeIsNull bool
字段是否可空
final

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