VmLazyer class

运行时延迟操作类

Inheritance

Constructors

VmLazyer({bool isMethod = false, bool isIndexed = false, required dynamic instance, required dynamic property, bool instanceByProperty = false, List? listArguments, Map<Symbol, dynamic>? nameArguments})

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
对象的标识符
finalinherited
instance → dynamic
延迟操作的目标
final
instanceByProperty bool
构造时是否是通过property找到的instance
final
isIndexed bool
是否为索引表达式
final
isMethod bool
是否为方法调用
final
listArguments List?
方法调用的列表参数
final
nameArguments Map<Symbol, dynamic>?
方法调用的命名参数
final
property → dynamic
延迟操作的属性,类型一般是 int 或 String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validateNull bool
对null值进行检测,用于 xxx?.xxx 的调用
no setter

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