MirrorConstructor<T, A extends MAnnotation> class
扫描到的类的构造函数信息
- Available Extensions
Constructors
-
MirrorConstructor(A annotation, String name, List<
MirrorParam< params, MirrorConstructorInvoker<MAnnotation, dynamic> >T> invoker) -
const
Properties
- annotation → A
-
扫描时的注解信息
final
- annotationType → TypeToken
-
扫描时的注解类型
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
invoker
→ MirrorConstructorInvoker<
T> -
具体的执行器
final
- key → String
-
获取key信息 优先从注解中获取 当注解为空时返回扫描时的name
no setter
- name → String
-
扫描时的函数名
final
-
params
→ List<
MirrorParam< MAnnotation, dynamic> > -
函数所需要的参数信息
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
newInstance(
[Map< String, dynamic> params = const {}]) → T - 根据map内的参数来生成一个类的实例
-
newInstance2(
[List positional = const [], Map< String, dynamic> named = const {}]) → T - 执行函数
-
newInstance3(
Map< String, String> uriParams, {dynamic objParam}) → T - 执行函数
-
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