OtherMethodInfo class

其他方法信息结构体,用于方法拦截器生成

Constructors

OtherMethodInfo(String name, String type, bool typeIsNull, List<Map<String, dynamic>> methodParams, String? classCode, bool isAsync, String methodBody, String? valueUpdateListenerFunCode)
构造函数
const
OtherMethodInfo.create(MethodElement methodElement, ConstantReader reader)
工厂方法:从方法元素和注解 ConstantReader 创建 OtherMethodInfo
factory

Properties

classCode String?
生成的类级代码片段
final
hashCode int
The hash code for this object.
no setterinherited
isAsync bool
是否为异步方法
final
methodBody String
生成的方法体代码
final
methodParams List<Map<String, dynamic>>
参数列表(类型、可空、名称)
final
name String
方法名
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
返回类型
final
typeIsNull bool
是否可空
final
valueUpdateListenerFunCode String?
生成的值变更监听方法代码片段
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