MirrorParam<A extends MAnnotation, PT> class

扫描到的参数信息

Constructors

MirrorParam(A annotation, String name, bool isOptional, bool isNamed, bool isNonNullable)
const

Properties

annotation → A
扫描时的注解信息
final
annotationType TypeToken<A>
扫描时的注解类型
no setter
hashCode int
The hash code for this object.
no setterinherited
isNamed bool
参数是否是命名参数
final
isNeed bool
是否为必选参数
no setter
isNonNullable bool
是否可以使用null赋值
final
isOptional bool
是否为可选参数
final
isPositional bool
是否是位置参数
no setter
key String
获取key信息 优先从注解中获取 当注解为空时返回扫描时的name
no setter
name String
扫描时的参数名
final
paramType TypeToken<PT>
参数的type
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