VmHelper class
运行时声明辅助类
Constructors
Properties
- canFieldNull → bool
-
声明的字段是否可以为null值
no setter
- fieldName → String
-
声明的字段名称
final
- fieldQuestion → String?
-
声明的字段类型带的问号
final
- fieldType → String?
-
声明时明确指定的类型如:int、double、bool等
final
- fieldValue → dynamic
-
声明的字段默认值
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
对象的标识符
finalinherited
- isClassField → bool
-
声明的字段是否为类字段参数
final
- isNamedField → bool
-
声明的字段是否为命名参数
final
- isSuperField → bool
-
声明的字段是否为超类的字段
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getClass(
) → VmClass -
读取对象的对应包装类
override
-
getLogic(
) → dynamic -
读取对象的逻辑处理值
override
-
getValue(
) → dynamic -
读取对象的原生数据值
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setValue(
dynamic value) → dynamic -
设置对象的原生数据值 或 逻辑处理值
override
-
toJson(
) → Map< String, dynamic> -
转换为易读的JSON对象
override
-
toString(
) → String -
转换为易读的字符串描述
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited